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.
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.