You Sir, name password.
December 21, 2005 2:33 PM Subscribe
WebSecurityFilter: I'm looking for a PHP or CGI script which would redirect a user to their password protected folder when they enter their username and password.
I am trying to build a single entry point for client access to resource files online. The idea is that I can pass out a single 'client access' URL where the client can enter their username and password which would be verified and then redirected to their folder on the server.
The maintenance of this tool needs to be absurdly easy as I plan on handing off maintenance of this to a non-tech-savvy person ASAP.
I am trying to build a single entry point for client access to resource files online. The idea is that I can pass out a single 'client access' URL where the client can enter their username and password which would be verified and then redirected to their folder on the server.
The maintenance of this tool needs to be absurdly easy as I plan on handing off maintenance of this to a non-tech-savvy person ASAP.
How is the folder protected? .htaccess? That may be an issue for redirection, depending on how your permissions system works.
posted by devilsbrigade at 3:12 PM on December 21, 2005
posted by devilsbrigade at 3:12 PM on December 21, 2005
You don't even need PHP (or any other scripting language). If you're using Apache as the webserver, you can use .htaccess to handle the authentication side. Take a look at this tutorial for a quick and easy way of setting this up. All your "non-tech-savvy" person would have to do is is modify the .htpasswd file with user/password information.
posted by purephase at 4:14 PM on December 21, 2005
posted by purephase at 4:14 PM on December 21, 2005
All your "non-tech-savvy" person would have to do is is modify the .htpasswd file with user/password information.
Which would involve ftp, plain text editing and more ftp. Or SSH and command line. And still wouldn't handle the redirection.
This might work though you may have to do some hacking to get the redirection working: PHP login system with admin features.
posted by blag at 4:58 PM on December 21, 2005
Which would involve ftp, plain text editing and more ftp. Or SSH and command line. And still wouldn't handle the redirection.
This might work though you may have to do some hacking to get the redirection working: PHP login system with admin features.
posted by blag at 4:58 PM on December 21, 2005
This thread is closed to new comments.
If you just need a simple system that uses a text file with usernames and passwords, I could put something together for you in about a half hour.
posted by TonyRobots at 3:02 PM on December 21, 2005