JavaScript Page Password Code Snippet Generator

Easily create a light-weight page password protection using JavaScript is easy using this code snippet generator.

.:: What does the 'JavaScript Page Password' code snippet do? ::.

This code generator will produce the necessary codes to require the visitor to enter a password before being redirected to the password protected web page.

User ID: Snap
Password: Builder




How to generate your own 'JavaScript Page Password' Code Snippet:

  1. Simply enter your protected web page information.
  2. Click the "Generate Code Snippet" button.
  3. Copy & paste the code into the HTML tag areas of your web page.
  4. Please Note: This code snippet requires that the visitor JavaScript be active in order to function correctly.
    It is only intended to be a super light-weight security feature.
    If you need stronger security features, we recommend using .HTACCESS, CGI or PHP.



.:: Begin Creating Your 'JavaScript Page Password' Code Snippet ::.


 User ID:
 Password:
 User ID Message:
 Password Message:
 Authenticated URL:

Instructions:

  1. Copy and paste the code below into the HEAD & BODY tag areas of your web page.
  2. The script will redirect the visitor to the protected web page, if the User ID & Password are correct.

Your Generated Code:





You may use the Snap HTML Code Editor for a live demo of your code.