?
Solved

IIS Password authentication for directory

Posted on 1998-06-14
4
Medium Priority
?
193 Views
Last Modified: 2013-12-25
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
0
Comment
Question by:chekhov
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 1

Expert Comment

by:TAMC
ID: 1858341
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.
0
 
LVL 1

Expert Comment

by:TAMC
ID: 1858342
If you need any more info, just comment me.
0
 

Author Comment

by:chekhov
ID: 1858343
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
0
 
LVL 28

Accepted Solution

by:
sybe earned 400 total points
ID: 1858344
Follow the guidelines TAMC gave
- remove the permissions for the IIS_USER_computername.
- add those who you want to give access to


0

Featured Post

Enroll in August's Course of the Month

August's CompTIA IT Fundamentals course includes 19 hours of basic computer principle modules and prepares you for the certification exam. It's free for Premium Members, Team Accounts, and Qualified Experts!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When it comes to write a Context Sensitive Help (an online help that is obtained from a specific point in state of software to provide help with that state) ,  first we need to make the file that contains all topics, which are given exclusive IDs. …
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
This tutorial demonstrates how to identify and create boundary or building outlines in Google Maps. In this example, I outline the boundaries of an enclosed skatepark within a community park.  Login to your Google Account, then  Google for "Google M…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
Suggested Courses

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question