Discussion Locked

Multiple Dirctory Password Protection

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I am working on a web site that has about 5,000 directories that contain a single index.html file that need password protection. Each directory needs a unique username and password. Anybody have any ideas on who may offer this kind of program in a box? or anybody have a program to sell?

5 replies

by juanja

Well, I just can't think of a reason for someone to want to do something like that, but if that's the case, you can write a script to make the folders and the pages automatically. You might want to generate the initial password and username, and then give the option to change it upon first login. If you need something like that, let me know. I can probably make it, but I need more background, I can't clearly understand.

by wls

That sounds like it will be a nightmare to maintain and it smacks of bad design.

Why not use PHP to authenticate the user out of a file or database and have it locate the appropiate file and deliver it. Quick, easy, extensible, and lots of authentication methods.

http://www.php.net/ -- portable all over the place.

This discussion is closed to new replies.