Password protection through JavaScript Hawaii

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

Century Computers Inc
(808) 585-0444
500 Ala Moana Blvd
Honolulu, HI
City and County Offices Human Resources Department
(808) 523-4121
650 S King St
Honolulu, HI
Compusultants Inc
(808) 545-1216
1188 Bishop St
Honolulu, HI
Computer 1 Associates Inc
(808) 524-6700
1188 Bishop St
Honolulu, HI
Computer Associates International Inc
(808) 585-0057
1132 Bishop St
Honolulu, HI
Laser Barcode Solutions
(808) 591-0031
1314 S King St Suite 424
Honolulu, HI
Success Solutions LLC
(808) 946-0005
1311 Kapiolani Blvd
Honolulu, HI
Human Touch Software Co
(808) 924-3930
2222 Kalakaua Ave
Honolulu, HI
Analyzer USA Inc
(808) 922-4620
2155 Kalakaua Ave
Honolulu, HI
Retail Solutions Inc
(808) 834-1100
2828 Paa St
Honolulu, HI

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

Century Computers Inc

(808) 585-0444
500 Ala Moana Blvd
Honolulu, HI

Related Local Events
GLOBECOM 2009 - 2009 IEEE Global Telecommunications Conference
Dates: 11/30/2009 - 12/4/2009
Location: Hilton Hawaiian Village
Honolulu, HI
View Details

NPA 2010
Dates: 2/7/2010 - 2/9/2010
Location: Grand Hyatt Kauai Resort & Spa
Koloa, HI
View Details

10th Annual Advanced Maui Optical and Space Surveillance Technologies Conference
Dates: 9/1/2009 - 9/4/2009
Location: Wailea Beach Marriott Resort
Wailea, HI
View Details

2009 IEEE International Professional Communication Conference (IPCC 2009)
Dates: 7/19/2009 - 7/22/2009
Location: Hilton Hawaiian Village
Honolulu, HI
View Details

Plant Biology 2009
Dates: 7/18/2009 - 7/22/2009
Location: Hawaii Convention Center
Honolulu, HI
View Details

Rss   Delicious   Digg   Add To My Yahoo   Add To My Google   Bookmark   Search Plugin

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