Password protect your Website: Web-based JavaScript Generator





webdevelopment_beginner_javascriptkit.gif

This is a goodie! If you run a website and you want a certain page to be password protected, this is what you need. Sometimes, you just don’t want to go through a CGI Script. So here comes the easier JavaScript solution!

This is an encrpyted password protection generator, fully web-based and free. It gives you JavaScript code to copy&paste into your HTML source code.

This is how it works: name a password of your choice, hit ‘Generate’, and the JavaScript code is being generated. You get code to copy&paste into your HTML file.

Using this script, you have to have a starting page to call the form (where the user has to input the password). Only if the correct password has been entered, the target HTML page opens. Plus: the JavaScript code is encrypted, so nobody can see the password by opening the HTML source.

javascript-generator-password-protection.jpg

You can go to the generator here.



  1. One Response to “Password protect your Website: Web-based JavaScript Generator”

  2. By nora on Jan 22, 2008 | Reply

    great stuff :)

Post a Comment