Password protection through JavaScript Kent WA

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

Datec, Inc.
(206) 575-1470
364 Upland Dr.
Seattle, WA
Responza
(206) 762-5100
655 S. Orcas St.,
Seattle, WA
Data Trace
(888) 500-3979
4301 Industry Dr
Fife, WA
WebOnyx
425-985-8802
900 1st Ave S.
Seattle, WA
Essential Security Software
359-992-8926
11040 Main St
Bellevue, WA
Zim Communications
206-725-7728
647 Strander Blvd
Seattle, WA
Parallels, Inc.
(425) 282-6400
660 SW 39th St.,
Seattle, WA
10kInfo, Inc.
(425) 614-4636
13555 SE 36th St.
Bellevue, WA
Cascadia Software, Inc
253-896-4000
3600 Port of Tacoma Rd Ste 210
Tacoma, WA
Topia Technology, Inc
253-572-9712
1119 Pacific Ave Ste 1600
Tacoma, WA

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

Zim Communications

206-725-7728
647 Strander Blvd
Seattle, WA
http://www.zimcommunications.com

Related Local Events
2010 'The Future is Now' Technology Expo
Dates: 1/27/2010 - 1/27/2010
Location: ShoWare Center
Kent, WA
View Details

Leads Group: Wired
Dates: 12/31/2009 - 12/31/2009
Location: Mud Bay Coffee
Olympia, WA
View Details

Leads Group: Wired
Dates: 12/24/2009 - 12/24/2009
Location: Mud Bay Coffee
Olympia, WA
View Details

Leads Group: Wired
Dates: 12/13/2009 - 12/13/2009
Location: Mud Bay Coffee
Olympia, WA
View Details

Leads Group: Wired
Dates: 12/3/2009 - 12/3/2009
Location: Mud Bay Coffee
Olympia, WA
View Details

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