Dynamically adding user names and passwords for web site protection

  • Thread starter Thread starter Koen
  • Start date Start date
K

Koen

Hi!

Could anyone please explain how I can do the following on a
Windows2000 server machine?

I would like to be able to allow access to some directories on a web
site (using IIS) based on a plain text file (located in a secured
directory of course) containing a list of users and passwords.

Right now, the only way I know of is to manually create a new user and
add it to a group of users that have access to that directory. But
there must be ways to do that without going through the GUI of the
users manager on the server right?

Any help appreciated!

Koen

PS
The reason I want to do that is because I need something on our web
site to allow access to certain pages on the site only for people
listed in a text file with their user name and password. We're not
using Apache (but IIS), so .htaccess won't do.
 
Koen said:
Hi!

Could anyone please explain how I can do the following on a
Windows2000 server machine?

I would like to be able to allow access to some directories on a web
site (using IIS) based on a plain text file (located in a secured
directory of course) containing a list of users and passwords.

You'll need a third-party component as this is not supported natively.
Something like this might help: http://www.flicks.com/flicks/authx.htm
Right now, the only way I know of is to manually create a new user and
add it to a group of users that have access to that directory. But
there must be ways to do that without going through the GUI of the
users manager on the server right?

It can be scripted. See the two articles on adding and editing users and
groups.
http://www.15seconds.com/focus/ADSI.htm
 
Back
Top