Check Out These Featured Resources from the IBM Business Values Solution Center on CIO Update
WHITEPAPER:
CRM Done Right

Improve the likelihood of CRM success from less than 20 percent to 60 percent.
SURVEY:
The 2005 Chief Procurement Officer Survey

Highlights several strategic imperatives that are fundamentally altering the role of procurement.
WHITEPAPER:
Improving IT Operational Efficiency

Improve operational efficiency by exploiting best practices, standards, new technology, and tools.
The JavaScript Source - Cut and Paste JavaScript Library
Home
New Scripts
Master List
Tutorials
BG Effects
Buttons
Calculators
Calendars
Clocks
Cookies
CSS
Equivalents
Forms
Games
Generators
Messages
Miscellaneous
Navigation
Page-Details
Pass. Prot.
Scrolls
Snippets
User-Details
Shopping
Script Count:  2275
internet.com 
Travel Ideas:
 Orlando Vacations
 Disneyland
 Destin Florida
 Vegas Hotels
 Steamboat Springs
 New Orleans
 Honolulu
 Spring Break
Navigation Menu
Site Contents
What's New?
A-Z Script List

Site FAQ
About JSS
Message Forum
JavaScript Tutorial
Friends of JSS

Link to Us
JavaScript help
Contribute a script

Internet.commerce

Be a Commerce Partner
Plasma TV Reviews
New Car Prices
Insurance Quotes
Racks
Desktop Computers
Buy Digital Cameras
Email Marketing
Home Equity Loans
Car Insurance Quotes
Hosting
Computer Deals
Conference Services
T-Shirts

Internet.com

Developer
Downloads
International
Internet Lists
Internet News
Internet Resources
IT
Linux/Open Source
Personal Technology
Small Business
Windows Technology
xSP Resources
Search internet.com
Advertise
Corporate Info
Newsletters
Tech Jobs
E-mail Offers

Developer Channel

FlashKit.com
HierMenusCentral.com
JavaScript.com
JavaScriptSource
Jobs
ScriptSearch
StreamingMediaWorld
Web Developer's Journal
Web Developer's Virtual Library
WebDeveloper.com
Webreference
Web Hosts
XMLfiles.com



Great Sites:
DocJavaScript.com
dhtml.com
The Freebie Directory
TheFreeSite.com

Browse Doc JS's Tips!


Hiermenus Central


Promotions

Free Announcements


Jobs.WebDeveloper.com

Special Offer! Free 30-Day Trial:
Web-Based Quickbase for Project Management
Learn Why 32 of the Fortune 100 Use Quickbase
Web-based Quickbase from Intuit is an easy, flexible and affordable way to manage projects with better visibility and accountability for everyone. With QuickBase your team can:
  • Manage Projects, Tasks, Docs
  • Share and Update Info Instantly
  • Control Access to Data
QuickBase is perfect for mid-size and large businesses. Learn more.

Sign up now and try QuickBase FREE for 30 days!
e-Newsletters
JavaScript Weekly
find a web host with:
CGI Capabilities
MySQL
Windows Hosting
Unix Hosting
Telnet/SSH
Sun Solaris
advanced search
Search Clipart.com:



Home } Password } Index

These scripts all deal with JavaScript password protection scripts. They are an elementary attempt to protect a site and should NOT be used to protect top secret information. They just keep the amateurs out. Pros can infiltrate such sites with these forms of protection. But, for free, they do a good job. They are sometimes very difficult to write - just look at the code. General questions about password protection scripts here should be posted to the The JavaScript Forum.


More on internet.com

Title: Advanced Password Checker
Contributor: Aaron Jones (webmaster@aaronjones.4t.com)
Contributor URL: http://www.aaronjones.4t.com/
Details: 2.36 KB * Uploaded October 12 2004
Description: This script uses an array to store the usernames and passwords. It also uses a prompt box for username and password info and uses the indexOf property to search the array for a username and password match in a for.. loop.

[ Get Source Code ]


Title: ASCII Encryption
Contributor: David Salsinha (david.salsinha@popsi.pt)
Details: 1.83 KB * Uploaded August 31 2000
Description: (Internet Explorer Only) A very simple encryption method that uses random values for each character. Interestingly, you can encrypt the same string as many times as you want and the result will always be different. Best used with short strings.

[ Get Source Code ]


Title: Character Encoder
Contributor: Mike McGrath (mike_mcgrath@lineone.net)
Contributor URL: http://website.lineone.net/~mike_mcgrath/
Details: 1.86 KB * Uploaded November 24 1999
Description: Encrypts a string by converting each character to it's ASCII key code. Supports two-way encryption - from a string to the numeric code, or from the numeric code back to the string. You can, for example, send the encrypted code to a friend and have them decode it with this script. Lots more uses, use your imagination!

[ Get Source Code ]


Title: Cookie Protection
Details: 5.19 KB * Uploaded August 13 1997
Description:You can use a basic cookie script to keep visitors (that don't have the cookie on their system) from viewing certain parts of your site (kind of.... There are always ways around it). The cookie is placed when the password provided is correct. Then, when they are forwarded to the password protected page, the cookie allows them to stay. Those without the cookie are sent back.

[ Get Source Code ]


Title: Gatekeeper
Details: 2.97 KB * Uploaded August 13 1997
Description: Here is the best password protection script I have come across. It is also definitely the most user friendly. Try it out! (Note: The password is the filename without the .html ending.) This password for this example is gatekeeper-in

[ Get Source Code ]


Title: Login Coder
Contributor: Dion
Contributor URL: http://www.iinet.net.au/~biab/
Details: 6.50 KB * Uploaded May 29 1998
Description: This is undoubtedly the best password protection JavaScript you'll ever find. Besides supporting multiple users, multiple passwords, and even multiple destination pages (after they successfully login), this script is presented in a very easy-to-use interface that you're sure to love! We *wish* we wrote this script, it's that good! (Note: Questions on this script should be directed to the author.)

[ Get Source Code ]


Title: Multiple Users (Login Table)
Details: 1.60 KB * Uploaded May 15 1998
Description: Rather not have one password for access the Members-Only section of your site? Well, along comes this little JavaScript gem. You can set up a separate username and password for as many members as you want, and even give each a different page to go to after logging in!

[ Get Source Code ]


Title: Multiple Users (Prompt)
Details: 1.29 KB * Uploaded May 15 1998
Description: This JavaScript is just like the previous Multiple Users one, but doesn't use a table interface to login. Instead, after clicking the Login! button, the script will ask them for their username and password, and then perform the password-protection. Very neat!

[ Get Source Code ]


Title: Password Generator
Contributor: ataxx@visto.com (ataxx@visto.com)
Details: 3.49 KB * Uploaded October 27 2000
Description: Generate a random password with the ability to include special characters and password restrictions.

[ Get Source Code ]


Title: Password Pro
Contributor: Lefteris Haritou (lef@writeme.com)
Contributor URL: http://www.geocities.com/~lef
Details: 2.55 KB * Uploaded October 26 1997
Description: This script uses a different approach to Password Protection. It still uses the password as the actual page, but it uses an encryption method that encrypts and checks the password. So if you fail to enter it correct after 3 times you go to a specific page (specified by the webmaster) and you don't get the annoying 404 page not found message as in other scripts. The password is password

[ Get Source Code ]


Title: Password Prompt
Details: 0.58 KB * Uploaded August 13 1997
Description: If a visitor wants to go a password protected page, they must first enter the correct password on the page with this script. This script will just take you them to [password entered].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! The password is the protected filename without the .html ending.

[ Get Source Code ]


Title: Password Protect
Contributor: JavaScript Newbie
Contributor URL: http://expage.com/javascriptnewbie
Details: 0.81 KB * Uploaded June 17 2005
Description: Use this script to protect online files. Users cannot cancel out of it. It can also be used with your browser's home page to control Internet access on your own computer.

[ Get Source Code ]


Title: Random Password Generator
Contributor: Stephen Griffin
Contributor URL: http://i-code.co.uk/
Details: 3.64 KB * Uploaded January 12 2005
Description: This script can be used to generate random passwords for improved password strength.

[ Get Source Code ]


Title: Slide Encryption Program
Contributor: Brett Tolbert (bretttolbert@alaweb.com)
Contributor URL: http://www.geocities.com/btolbertnet
Details: 4.03 KB * Uploaded April 27 2004
Description: This is another basic encryption/decryption program. The difference is this script can shift characters based on user input and you can use more than one key making your security even more difficult to break.

[ Get Source Code ]


Title: Text Encryption
Contributor: Tomislav Sereg (tsereg@net.hr)
Contributor URL: http://www.inet.hr/~tsereg/jse
Details: 8.32 KB * Uploaded August 3 2000
Description: This JavaScript library provides encryption using simple, text-oriented method called column transposition. The idea is to write the plain text in block on the row-first bases. The text is then read column-first. The trick is in that the columns are not read from left to right, but in the order specified by the encryption key. Transliteration is also used.

[ Get Source Code ]


Title: Three Tries
Details: 1.10 KB * Uploaded August 13 1997
Description: If you want to 'protect' a site and don't have CGI access, you can try this JavaScript. Visitors get three tries to enter the correct password then they are refused entry. Note: The password is: password

[ Get Source Code ]


Title: UNIX crypt(3) encryption
Contributor: Jeff Walden (Jswalden86@netzero.net )
Details: 1.23 KB * Uploaded October 30 2002
Description: .htpasswd files use crypt(3) to generate encryptions, and this script will do it for you without UNIX or an online script! Provided in .js format for your convenience.

[ Get Source Code ]


Title: Virgenere Encryption
Contributor: Francisco Ryan Tolmasky (iopossum@mailcity.com)
Contributor URL: http://iopossum.tripod.com
Details: 2.99 KB * Uploaded September 4 2000
Description: A fine example of the classic virgenere script and is nearly impossible to decode, even when using frequency analysis. This script is also entertaining since you can actually see the encryption taking place.

[ Get Source Code ]


Title: XOR Encryption4
Contributor: Terry Yuen (kaiser40@yahoo.com)
Details: 5.31 KB * Uploaded October 19 2001
Description: This encryption method performs a bitwise XOR on each character of the data you wish to encrypt with a series of mathematically generated keys. This key is generated using a pseudo-random number generater using a hash of the password as the seed. The security of the encrypted data is dependent on the length and randomness of the key. Don't make this script the only form of security on your site as XOR encryption has its weaknesses.

[ Get Source Code ]


javascriptsource.com
Link to Us!

Jupitermedia's Database Journal offers SQL courses and other database related resources for beginner to expert developers.






If you like JavaScript Source, please rate it! @ ScriptSearch.com

  Sign up for the Javascript Weekly Newsletters!
JavaScript is a registered trademark of Sun Microsystems, Inc.







JupiterWeb networks:

internet.comearthweb.comDevx.comGraphics.com

Search JupiterWeb:

Jupitermedia Corporation has three divisions:
JupiterImages, JupiterWeb and JupiterResearch

Copyright 2005 Jupitermedia Corporation All Rights Reserved.
Legal Notices, Licensing, Reprints, & Permissions, Privacy Policy.

Jupitermedia Corporate Info | Newsletters | Tech Jobs | Shopping | E-mail Offers