zubrag.com

 
HTML Password Protector will protect whole HTML page or only part of it using password. A lot of HTML protectors available. They can be divided into two main categories:
  • obfuscators, which simply use JavaScript escape/encodeURI functions to obfuscate HTML. Such HTML can be easily decoded using unescape/decodeURI functions
  • login box adder, which adds JavaScript login prompt and do not encode HTML. HTML can be easily seen by disabling JavaScript in browser settings
  • combination of above.
This tool is much more secure. It will encode HTML using your password, and will add a password box. Incorrect password will result in incorrectly decoded HTML.

Requirements: JavaScript 1.2 (tested on Firefox 2.0, Firefox 3.5, IE 6.0, IE 8, Opera 7.51, Opera 9, Google Chrome. May also work on other browsers/versions). IE8 has a restriction, users will see yellow strip at the top of the page. Will have to click yellow strip and select Allow Blocked Content.
Note: it cannot encode short text due to the nature of encoding. Longer passwords result in better encoding.

Password: (The browser will request this password when somebody opens your protected HTML page)
Paste your HTML (which needs to be protected) into this box:





It will generate password protected HTML code in the box below
This is your protected page text. Save this text as an HTML file.
Now, the browser will pop up a password entry form when somebody tries to open your protected HTML page