View Full Version : good page protection script
Rappa
02-25-2006, 09:05 PM
What I need is some sort of script that when the page is entered, it will pop up a dialog box asking for username and password, with out showing any content of the site. maybe php? i dont wwant the password visible anywhere in the script. and i really dont want it where the pop ups on one page and it leads to another page. because if people find out about the second page they can just point there browser there free of the user/password page. get it? yea me neither. thx for any help
StupidRalph
02-25-2006, 09:10 PM
i dont wwant the password visible anywhere in the script. and i really dont want it where the pop ups on one page and it leads to another page. because if people find out about the second page they can just point there browser there free of the user/password page. get it?
Not if that second page has PHP protecting it. :)
donmarvin
02-25-2006, 10:07 PM
You want .htaccess protection. Very easy to implement. No PHP needed. Here's a .htaccess generator http://tools.dynamicdrive.com/password/ There's lots more out there if you don't like that one, just google htaccess.
donmarvin
02-25-2006, 10:09 PM
P.S. - It protects the whole directory. No one can access any page within the directory without entering the password.
Rappa
02-25-2006, 11:45 PM
thats exactly what i wanted
degsy
02-27-2006, 03:57 PM
Also check with your host. Many have a Control Panel where you can simply specify protected folders.
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.