Home } Password Protection } Password Prompt



If a visitor wants to go a password protected page, they must first enter the correct password on the page with this script (this page) This script will just take you to [password you enter].html This is a very good script if JavaScript is enabled and as long as you have an index.html file in your directory. As an added bonus, it's only 8 lines! Unlike the others, the password is the protected filename without the .html ending.


Add a comment, suggestion, or correction
[For questions about usage, consult the Notes tab above or visit the JavaScript forum. Do not include more than two (2) lines of code in your comments. If you have suggestions or corrections, you can submit them to us.]

    
   
       
[optional]
 
[optional]

   

Comments feed Comment Feed RSS 2.0

1. From: Alexz
Where is it?
11/21/2008 19:41:11

If this is no longer available, please update your site. I was very disappointed as this is the script I have been looking for.

2. From: Lee (Admin)
01/16/2009 10:29:51

You have to enter the password (given in the popup - it's "prompt-in"). It will take you to the script.

Sign up for the Web Development Daily Newsletter

internet.com Privacy Policy
We'll send this script to you!

(just click "Send it!" once!)