Low-level password protection

QT:{{”
You set up two pages (e.g., page.html and protectpage.html). page.html has the javascript code snippet within the tags. protectpage.html has the protected information. If someone enters the correct password — ‘letmein’ in the example — the protected page opens in a new browser window.

Of course, the password is identifiable by viewing page source. Also, a webcrawling bot will probably index or scrape protectpage.html at some point.

Anything more sophisticated is challenging.
“}}

http://www.javascriptkit.com/script/cut10.shtml

Tags: , , , , , , ,

Leave a Reply