Hypergurl Java Scripts. How to password protect webpage.





Handy Tip : Only use javascript password protection on non sensitive information. Javascript code can easily be accessed by those who know a little about reading code so is not suitable to protect important information or sensitive areas of your website.


Click here for more Html Scripts

How to Password Protect your webpages

This is a javaScript prompt that asks your visitor for a password. They must have the correct password to continue onward. Place this script in the head tag of your html source:



Changes for you to make are in lines 4 (change the words "hypergurl" for your password)

line 8 (you can change "Correct password, Ok to enter" to whatever you wish)
line 11 (put in your url instead of hypergurl.com)


*Please note that this is not a secure way to password protect important information.
Javascripts can be hacked into and if you want to have full security, contact your webhost with regards to installing CGI scripting or other protection.

 
Search Site
Custom Search





Site design copyright 2000 - 2011 © Tanya Puntti Hypergurl.com