Link to home
Start Free TrialLog in
Avatar of chekhov
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
Avatar of TAMC
TAMC

1) In WinNT explorer browse to your "demo" directory
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.
If you need any more info, just comment me.
Avatar of chekhov

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
ASKER CERTIFIED SOLUTION
Avatar of sybe
sybe

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial