Home
User and System Preference
Here
|
Categories
Other Sections
Sweet Ads
Compatibility
|
|
FF1+ IE5+ Opr7+
Encrypted Password script Author:
Rob Heslop |
homepage
Last updated: July 23rd 2001 by Mike to include username field Description: JavaScript password scripts have improved substantially over time, with the latest enhancement being an encrypted password, archived using "fuzzy" algorithms. The result are password scripts that won't crumble as soon as the user views the page's source. Use this script to password protect your webpage; based on a simple yet effective encryption method, it's one of the best of its kind. Important: In general JavaScript password scripts are significantly less secure that their CGI counterpart. If your server supports CGI, the ideal method of password protection is via that route. Demo: Username is "john" & password is "good": Directions: Step 1: First, generate the encrypted username/password set by typing the desired selections in the box below (ie: "john" and "good") and press calculate (the generator is NOT case sensitive): Step 2: Once you have the encrypted set, name the secure page what your password is .htm (i.e. "good.htm"). Then, add the following script to the page leading up to the protected one, replacing the numbers inside the script (where indicated by the comments) with the numbers generated above: You're done. Let's replay everything, just to make sure everyone's on the same page: Step
1: Use the generator to create the encrpted, numeric versions of your
username/password (ie: "good" becomes 126906300) Free free to rewind at this point... |