Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Password Protect

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
I am creating a client login. How do I password protect a file.

I would like to have a page where the user clicks on the login button, which then launches a password alert box, and then when they enter the info it takes them to a specific password protected file. Is this possible? Any suggestions?? thanks.
 
Normally such things are done on the server - the web server just sets a specific directory to be password-protected and there you go.

The alternative is something like the password-protection that DW Ultradev provides - DB-powered. You create a table that holds the user information and login at your web page. Check out macromedia.com for this server behaviour.
Normally such authentification algorithms work with a combination of either cookies or session variables or both and URL and/or form parameters.

Other alternatives can be done but will not be safe in any way - I would not suggest them. Maybe somebody can proof me wrong, I'm glad to learn something here...
allow thyself to be the spark that lights the fire
haslo@haslo.ch - www.haslo.ch​
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top