Click to See Complete Forum and Search --> : Creating a login
rtbball
08-07-2007, 10:48 PM
so i run a webpage on the side, nuttin real big...but i want to be able to create a user name and password appliation where certain people can just log into the website and view certain files...and i have no clue where to start
mactheweb
08-07-2007, 11:43 PM
so i run a webpage on the side, nuttin real big...but i want to be able to create a user name and password appliation where certain people can just log into the website and view certain files...and i have no clue where to start
Many web hosts allow you to create a password protected section of your site through a control panel. Check your documentation to see if that is available. If it isn't you need to be able to use a .htaccess file (http://www.javascriptkit.com/howto/htaccess.shtml) (on unix/linux servers )
If neither of those options is available you need a better web server company.
roosevelt
08-08-2007, 01:13 AM
Doing this with flat HTML isn't possible, Javascript you can but the security will be very very weak!
Anyways, if your server is Apache, then most likely you will be able to use .htaccess.
Here's one you can use with Apache: http://www.javascriptkit.com/howto/htaccess3.shtml
Here's another one if you are on IIS: http://www.troxo.com/products/iispassword/
I recommend do a search in www.hotscripts.com, under Javascript or PHP section. Note, to run PHP scripts your server must have it installed.
Major Payne
08-08-2007, 09:44 AM
No one may like this one, but it is a quick and easy setup tool:
Bravenet Password Protect (http://www.bravenet.com/webtools/passwd/)
Ron