Generated Code

Simply insert the below into the <body> section of the page that proceeds the page you are protecting; in other words, the entrance page. You should save this entrance page in the same directory as the protected page:

The code above contains the password script, plus a simple html form used to input the password. Change variable "extension" above from ".html" to reflect the protected page's file extension (if different from .html. Example: .htm or .shtml).

You're done. To generate another password, click the link on the left.