Solved

IIS Password authentication for directory

Posted on 1998-06-14
4
187 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
  • 2
4 Comments
 
LVL 1

Expert Comment

by:TAMC
Comment Utility
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
Comment Utility
If you need any more info, just comment me.
0
 

Author Comment

by:chekhov
Comment Utility
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 200 total points
Comment Utility
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Uploading files to the web server has become common part of almost any kind of web application. People use different technologies to solve this, but regardless of the technology used, it is always useful to have some kind of progress indicator shown…
Foreword (July, 2015) Since I first wrote this article, years ago, a great many more people have begun using the internet.  They are coming online from every part of the globe, learning, reading, shopping and spending money at an ever-increasing ra…
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will get a basic understanding of what section 508 compliance can entail, learn about skip navigation links, alt text, transcripts, and font size controls.

763 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

Need Help in Real-Time?

Connect with top rated Experts

6 Experts available now in Live!

Get 1:1 Help Now