Follow these step by step instructions. For more information read below.
There are lots more hints, tips and tricks in all these javascript/password pages.
  1. Create a list of member names, passwords and destinations.
  2. Store this in a file called members.js
  3. It will be automatically read by version4.htm the Creator.
  4. Load the creator version4.htm file into your browser
  5. Check all the information loaded from members.js is correct
  6. Make any changes if needed
  7. Click the LIST button and get a complete members.js listing
  8. Click the mighty CREATE button to make a data list for the login.js file
  9. Copy the encrypted member list to a text editor and save as 'login.js'
  10. The login.js file must be in the same directory as the login.htm file
  11. You can change the directory if you edit the login.htm file apropriately
  12. The login.js file does not contain any member names or passwords
  13. All the destinations are encrypted.
  14. Make a 'button' which opens a popup window containing the login.htm file
  15. The button can be anywhere on one of your existing pages.
  16. The login.htm file reads the login.js file for member information
  17. Members can now access your hidden pages using the login window

  • Files You Need:
    1. members.js
    2. version4.htm
    3. login.js
    4. login.htm
  • members.js - List of Members, Passwords and Destinations.
    You can create this file in a text editor or by using the LIST button in the version3.htm page. The format for the member list is:
    m[m.length]=new Array("Member Name","Password","Title1","dest1","Title2","dest2");
    m[m.length]=new Array("Mike Black","romeo","yahoo","http://www.yahoo.com");
    Neither the members.js file or the version4.htm page should ever be on the internet. You should always keep these on your hard drive only. The members.js file contains the password and destinations; keep it hidden. version4.htm - Control program and login.js data creator.
    This is the main tool of the package. This file/program reads the contents of the members.js file and allows you to examine and manipulate the information. You can also create a members.js file listing from the data you input. The primary function is to create the data for the login.js file.
    'login.js' is created by the Login Script Creator Version 4.0. You need to copy the output of the 'creator' to a text file and save it as 'login.js'. login.js - Hashed and Coded Member Information file.
    The login.htm file reads the contents of the login.js file. It contains all the encrypted information about your members including their membership name, password hashcode and destination(s). The login.js file can only be created by using the Login Script Creator Version 4.0. You need to have this file in the same directory as the login.htm file. No, this .js file does not contain any passwords!
    The members.js file is read by Creator Version 4.0 and encrypted. The data is stored in the login.js file. This file is used by login.htm so your members can access your hidden pages. login.htm - Popup Window HTML file.
    login.htm is the HTML file for the 'popup' window which allows your members to enter their name and password. The popup window is opened from one of YOUR sites windows. The HTML code you need to open the login popup window is:
    <form>
     <input type="button" value="LOGIN"
      onclick="window.open('login.htm','','width=180,height=150');">
    </form>