chekhov
asked on
IIS Password authentication for directory
You are familiar with this dialog box that pops up when you try to access some web sites, asking
for a username and password to continue. I'm trying to do the same with a directory in my web site, I'm
using IIS 3.0 I read the documentation, and I understand I have to go to Windows Explorer, access
properties for the directory, select Permissions, and make some changes. But I need someone to tell me
precisely what changes. Please be as specific as possible. Assume that I have a subdirectory
wwwroot\demo which when somebody wants to access it will ask them for a username and
password, which to gain access the user should provide user: Tony Password: hello
for a username and password to continue. I'm trying to do the same with a directory in my web site, I'm
using IIS 3.0 I read the documentation, and I understand I have to go to Windows Explorer, access
properties for the directory, select Permissions, and make some changes. But I need someone to tell me
precisely what changes. Please be as specific as possible. Assume that I have a subdirectory
wwwroot\demo which when somebody wants to access it will ask them for a username and
password, which to gain access the user should provide user: Tony Password: hello
If you need any more info, just comment me.
ASKER
I tried it, didn't work, could you be more specific, in the last steps?
How do I set the name and the password, so that when I try to access that directory, a dialog box pops up, and will only give me access if I enter user: tony password: hello
At no point in your explanation you mention how to set the user/password to tony/hello
How do I set the name and the password, so that when I try to access that directory, a dialog box pops up, and will only give me access if I enter user: tony password: hello
At no point in your explanation you mention how to set the user/password to tony/hello
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
2) Right click on that directory
3) Choose Properties
4) Go to the Security tab
5) Choose the permisions button
6) Click Show Users
7) Add/Remove Users using the Add and Remove buttons
8) Set the type of control you want the users to have
9) Click OK
That should be it. Oh yeah, you will need a NTFS partition for this to work.