Password Protect a Single Page
Javascript for adding a login to another webpage
This is a very simple Javascript login application. This does not create a secure area on your website, but instead adds a simple login box that redirects to another webpage when a user enters the correct password.
See Instead…
Download the script
The code below is the simplest way to password protect a single page on your website using Javascript. This is not a secure login, but options outlined on the included help page will allow you to add some simple security to the protected webpage.
Notes: Once you have downloaded the .zip file from the above link, unzip the folder and look for the "help-password.html". Follow the steps as outlined on this help page. This application works with HTML5, HTML 4.01 and
responsive websites and web templates.
Related Topics:
More secure protection options
Placing webpages inside folders
Related Links:
Gatekeeper login Javascript