The JavaScript Source - Cut and Paste JavaScript Library
Home
New Scripts
Tutorials
Ajax Tutorials
Ajax
Buttons
Cookies
CSS
Forms
Games
Generators
Image Effects
Math Related
Miscellaneous
Navigation
Page-Details
Pass. Prot.
Snippets
Text Effects
Time & Date
User-Details
JS Core Reference
Shopping
Web Video Universe
Script Count:  2,594
internet.com 

Search
The Business Internet

Navigation Menu

Site Contents
What's New?


Site FAQ
About JSS
JavaScript Forum
JavaScript Tutorial
Friends of JSS

Link to Us
JavaScript Help
Contribute a script
Technology Jobs

Internet.commerce

Partner With Us
Imprinted Gifts
Home Improvement
Web Hosting Directory
Rackmount LCD Monitor
Imprinted Promotions
Promotional Products
Promotional Gifts
Compare Prices
Find Software
Online Shopping
Laptop Batteries
Logo Design
Prepaid Phone Card
Auto Insurance Quote

Internet.com

IT
Developer
Internet News
Small Business
Personal Technology
International

Search internet.com
Advertise
Corporate Info
Newsletters
Tech Jobs
E-mail Offers

Developer Channel

FlashKit.com
JavaScript.com
JavaScriptSource
Developer 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

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.








JupiterOnlineMedia

internet.comearthweb.comDevx.commediabistro.comGraphics.com

Search:

Jupitermedia Corporation has two divisions: Jupiterimages and JupiterOnlineMedia

Jupitermedia Corporate Info


Legal Notices, Licensing, Reprints, & Permissions, Privacy Policy.

Advertise | Newsletters | Tech Jobs | Shopping | E-mail Offers

Solutions
Whitepapers and eBooks
Microsoft Article: Will Hyper-V Make VMware This Decade's Netscape?
Microsoft Article: 7.0, Microsoft's Lucky Version?
Microsoft Article: Hyper-V--The Killer Feature in Windows Server 2008
Avaya Article: How to Feed Data into the Avaya Event Processor
Microsoft Article: Install What You Need with Windows Server 2008
HP eBook: Putting the Green into IT
Whitepaper: HP Integrated Citrix XenServer for HP ProLiant Servers
Intel Go Parallel Portal: Interview with C++ Guru Herb Sutter, Part 1
Intel Go Parallel Portal: Interview with C++ Guru Herb Sutter, Part 2--The Future of Concurrency
Avaya Article: Setting Up a SIP A/S Development Environment
IBM Article: How Cool Is Your Data Center?
Microsoft Article: Managing Virtual Machines with Microsoft System Center
HP eBook: Storage Networking , Part 1
Microsoft Article: Solving Data Center Complexity with Microsoft System Center Configuration Manager 2007
MORE WHITEPAPERS, EBOOKS, AND ARTICLES
Webcasts
Intel Video: Are Multi-core Processors Here to Stay?
On-Demand Webcast: Five Virtualization Trends to Watch
HP Video: Page Cost Calculator
Intel Video: APIs for Parallel Programming
HP Webcast: Storage Is Changing Fast - Be Ready or Be Left Behind
Microsoft Silverlight Video: Creating Fading Controls with Expression Design and Expression Blend 2
MORE WEBCASTS, PODCASTS, AND VIDEOS
Downloads and eKits
Sun Download: Solaris 8 Migration Assistant
Sybase Download: SQL Anywhere Developer Edition
Red Gate Download: SQL Backup Pro and free DBA Best Practices eBook
Red Gate Download: SQL Compare Pro 6
Iron Speed Designer Application Generator
MORE DOWNLOADS, EKITS, AND FREE TRIALS
Tutorials and Demos
How-to-Article: Preparing for Hyper-Threading Technology and Dual Core Technology
eTouch PDF: Conquering the Tyranny of E-Mail and Word Processors
IBM Article: Collaborating in the High-Performance Workplace
HP Demo: StorageWorks EVA4400
Intel Featured Algorhythm: Intel Threading Building Blocks--The Pipeline Class
Microsoft How-to Article: Get Going with Silverlight and Windows Live
MORE TUTORIALS, DEMOS AND STEP-BY-STEP GUIDES