Password protection through JavaScript King George VA

This is the first in a series of script tips meant to discuss and describe the concept of creating password protection through JavaScript.

Local Companies

Io Technologies Inc
(540) 663-5770
14303 Dahlgren Rd
King George, VA
Compro Inc
(540) 663-3868
5289 Palivoda Dr
King George, VA
Doran Consulting Llc
(757) 368-2208
3101 Magic Hollow Blvd
Virginia Beach, VA
American Systems Corporation
(703) 263-3322
14120 Parke Long Ct
Chantilly, VA
Multi Tech Solutions Inc
(804) 262-8900
Glen Allen, VA
Fredburg .Net Inc
(540) 663-5770
14303 Dahlgren Rd
King George, VA
Southeastern Computer Consultants Inc
(540) 644-8905
5184 Potomac Dr
King George, VA
Liquidapps
(703) 691-4290
10560 Main St
Fairfax, VA
Knowledgeware Technologies Inc
(703) 583-4223
13108 Oat Ct
Woodbridge, VA
Greentree
(540) 636-4656
2032 Marys Shady Ln
Front Royal, VA

provided by: 
Originally published at Internet.com


How'z it goin'...

This is the first in a series of script tips meant to discuss and describe the concept of creating password protection through JavaScript. I have three scripts, each better or worse than the last depending on your point of view, to show you. Each uses a different method of password protection. You choose which one you think is best.

The three are:


All three are effective to a point. As with most password protection, the protection is only as good as the user's ability to not blab the password. Where JavaScript has taken a bad rap in all of this is that many people say that the password is in the script, that it's easy to look at the code, grab the password and get in.

The second script above simply does not include the password so that's out. The first and the third do, but I'll show you how to make it darn hard to grab it from the code...if you can get to the code at all.

Let's get started with the first one.

Here's the effect

The password is "peppermint" - without the quotes. Before you do it correctly, put in incorrect passwords, leave spaces blank, hit CANCEL, and try to look at the pages code. You'll see how I hid it...

Read article at Internet.com site

Featured Local Company

Grytek

800-516-0840
11505 Cherry Tree Crossing RD
Cheltenham, MD
http://www.grytek.com

Related Local Events
DC Chamber Technology Series: Session 4
Dates: 12/10/2009 - 12/10/2009
Location: Robert H. Smith School at the Ronald Reagan Building and International Trade Center
Washington, DC
View Details

CSI 2009: The Next Phase In Security
Dates: 10/24/2009 - 10/30/2009
Location: Gaylord National Resort and Convention Center
National Harbor, MD
View Details

3rd Carbon Capture and Sequestration Summit
Dates: 9/14/2009 - 9/15/2009
Location: Omni Shoreham Hotel
Washington, DC
View Details

ACIs 3rd Annual Carbon Capture and Sequestration Summit
Dates: 9/14/2009 - 9/15/2009
Location: Omni Shoreham Hotel
Washington, DC
View Details

Topics: 
Architecture & Design Languages & Tools Project Management Web Services
Database Microsoft & .NET Security Wireless
Java Open Source Techniques XML