...

View Full Version : password protect



Bengal313
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

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

lord_raven
03-08-2003, 04:28 AM
http://www.javascriptkit.com/howto/htaccess3.shtml

Jesh
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.

Jesh

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



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum