Skip to page content or Skip to Accesskey List.

Work

Main Page Content

Cheap Route For Passwords

Rated 3.58 (Ratings: 1)

Want more?

  • More articles in Code
 

Member info

User since:

Articles written: 0

This is a way to weakly password protect a web page with javascript. Of course, I would not trust anything truly valuable behind this holey veil...

I did not come up with the idea, but cannot recall where I srcubbed it from. This was written for someone else as a demo.

The correct password is the file name (plus ".html") for the destination page, some cryptic name file

A wrong passwrd will generate a NOT FOUND message while the correct one will transfer you there The beauty here is that even if you look at this source code you still cannot find the correct password!

http://www.mcli.dist.maricopa.edu/eye/code/password/

Note that the correct password is hinted down the screen...

It's a dog eat dog web out there, so hang with the top dogs

The access keys for this page are: ALT (Control on a Mac) plus:

evolt.org Evolt.org is an all-volunteer resource for web developers made up of a discussion list, a browser archive, and member-submitted articles. This article is the property of its author, please do not redistribute or use elsewhere without checking with the author.