View Full Version : password protect

03-07-2003, 09:50 PM
I need to password protect some php files that allow database updates, deletes, add. I have quite a few files. Is there a way I can have a login/out for a entire folder. So, once someone clicks on the link from outside the folder, they are promted for a username and password. But, once in they are not prompted again. The password expires once the browser is closed or logged out? Can someone please tell me where I can find such a script. Better yet, give me a name. Thank you everyone

03-07-2003, 11:44 PM
Use .htaccess

03-08-2003, 04:28 AM

03-09-2003, 10:42 AM
I use sessions..

I used to use htaccess, but you can't prompt username/password from a page for example, like hotmail.

Its possible, but its gotta be something like http://username:password@site.com/ and has obvious security problems.


03-09-2003, 10:13 PM
I prefer htaccess, but, like any other secure area, there's always security issues...