Using client-side JavaScript, it is not possible to create a truly protected page, but you can use some simple scripts that make a page very difficult to get to without a password. This simple script uses the password name as part of the HTML page name. If the user provides the wrong password the browser will navigate to a nonexistent page. |