Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

IIS Password authentication for directory

Posted on 1998-06-14
4
Medium Priority
?
194 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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?
Australian government abolished Visa 457 earlier this April and this article describes how this decision might affect Australian IT scene and IT experts.
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

610 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