Restrict access to a folder in IIS5

reicherb

Platinum Member
Nov 22, 2000
2,122
0
0
I need to restrict a websites contents to specific users. Is there any way to have a user login before they can view any pages in a folder? If so where do I set it up? Ideally they would be prompted when they try to view the site. I know this is easy with Apache and .htaccess, but of course This server is a Microsoft gem.

Thanks for the help.
 

vi edit

Elite Member
Super Moderator
Oct 28, 1999
62,484
8,345
126
Here's how I do it -

Add the user(or group if multiple people need to access it) to the server. Now, on the hard drive, browse to the folder that you want to restrict. Right click on it, do a properties, and hit the security tab. From there you can add and delete users that can access it. Once you lock it down, when somebody tries to pull up that folder under internet explorer, it'll prompt them for a user name and password.

Basically, I use NTFS integrated security.