Password Protection

Added By: johnnabn

Rated:
(2 of 5) by 14.
Rate Snippet:
Description:  To see this in action go to http://www30.brinkster.com/johnnabn/passwordprotection This Password Script guards a link not a site! Advantage:Prevents user from using view source to discover the password Disadvantage: If someone knows the exact URL of the site your protecting they cannot access it. How to use: Make this page the default URL, then make the actual main page a long, very hard remember URL to prevent the wrong people from memorizing it and bypassing the password. - Where it says "PUT THE PASSWORD FOR YOUR SITE HERE" put in any password you like - In the URL for User Cancel and the Site Your Protecting make sure you put in the http://www. part
Language:  JavaScript

Save to web space
E-mail Link

Code Snippet: