IIS password protect documents

This is a discussion about IIS password protect documents in the Windows Software category; I want all html documents in a folder to be password protected. In other words, IE and Netsape users must enter a username/password to access any document placed in this directory. I managed to get it work by making the directory only viewable by one user account, but the username/password only worked for IE users.

Windows Software 5498 This topic was started by ,


data/avatar/default/avatar27.webp

64 Posts
Location -
Joined 1999-09-02
I want all html documents in a folder to be password protected. In other words, IE and Netsape users must enter a username/password to access any document placed in this directory.
 
I managed to get it work by making the directory only viewable by one user account, but the username/password only worked for IE users. Netscape browsers could not view these pages. Any solutions?

Participate in our website and join the conversation

You already have an account on our website? To log in, use the link provided below.
Login
Create a new user account. Registration is free and takes only a few seconds.
Register
This subject has been archived. New comments and votes cannot be submitted.
Aug 7
Created
Aug 7
Last Response
0
Likes
1 minute
Read Time
User User
Users

Responses to this topic


data/avatar/default/avatar19.webp

3857 Posts
Location -
Joined 2000-03-29
If you switch from NTLM to clear text/password, it should then permit Nutscra..., err, I mean Netscape users authenticate just dandy.
 


data/avatar/default/avatar27.webp

64 Posts
Location -
Joined 1999-09-02
OP
How do you do that? W2k help wasn't very helpful on this topic.

data/avatar/default/avatar19.webp

3857 Posts
Location -
Joined 2000-03-29
Set the NTFS permissions on the directory in question, and then set the directory security mode in IIS to clear text password:
 
1. Open IIS Console
2. Expand the site in question and right click on the desired directory, then select properties
3. Select the Directory Security tab
4. Select "Anonymous access and authentication control"
5. Select "Basic Authentication", while clearing "Anonymous Access" and "Integrated Windows authentication"
6. (Optional) Edit the "Basic Authentication" and enter the NT Domain name (or workgroup name) either directly or browsing to it
 
That should cover it.

data/avatar/default/avatar27.webp

64 Posts
Location -
Joined 1999-09-02
OP
Yep, that indeed covered it, thanks a bunch!