Admin Reports

26 Dec, 2007

Password Protecting Directories on Windows Servers

Posted by: BSchwarz In: Tips and Tricks

Well it has been a while since I added any articles to the site. Before I get on with the article let me first announce that Admin Reports has opened a forum for you to get help with your Windows Server problems.

You can find the forum at Windows Server Forums

Password protecting websites, directories and files on Windows 2003 Servers is very easy. It only takes a couple clicks and it’s done. For users to access the protected areas they’ll need to have an account on the server. There are ways to avoid this by using Passport authorization, but for this article we’ll use Integrated Windows authentication.

First thing to do is open IIS Manager. Once you have it open select the website that has the directory or file you want to protect. Click on the + next to the website to expand the directory and file list.
Right click the directory or file and select properties. A property box will popup. Now select the Directory Security tab at the top of the properties dialogue.
Select Authentication and access control by clicking the button that says edit.
Uncheck the box that says enable anonymous access. Check the box below that says Intergrated Windows Authentication.
Close the box and select apply in the properties box. The directory is now protected and can only be accessed by users that have a valid user account on your server. Test it out by going to yoursite.tld/protected_directory.

If you want to password protect a directory or file in the website click the website in the left window and when the files expand in the right window right click the directory or file and follow the procedure above to password protect it.
If you have any questions post a comment to this article ask in Windows/IIS Forum.


No Responses to "Password Protecting Directories on Windows Servers"

Comment Form

About

Admin Reports is a resource for forum and server admins geared towards admins that run communities on Windows Servers and IIS.

You will find tutorials, tips and tricks to tweak your Windows server, howto and reviews of forum software packages.

Advertisement

 

September 2010
M T W T F S S
« Sep    
 12345
6789101112
13141516171819
20212223242526
27282930  

Who is Online

Users: 5 Guests