Password protection through JavaScript Kansas

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

Mersoft Corporation
913-871-6196
9300 W. 110th Street
Overland Park, KS
Access Group LLC
(316) 264-0270
348 Ida St.
Wichita, KS
Midwest CAM Solutions (GibbsCAM)
877-444-0982
NOW SERVING: KANSAS
Wichita, KS
Professional Software Inc
(316) 269-4264
800 E 1st St Ste 150
Wichita, KS
Allen Gibbs & Houlik L C Agh
(316) 267-7231
301 N Main St Ste 1700 Epic Center
Wichita, KS
Backup Solutions
(316) 944-4448
2707 W Douglas Ave Ste B
Wichita, KS
Brainworks Software
(316) 722-8100
7570 W 21st St N
Wichita, KS
C E M Systems Inc
(316) 264-6116
1609 E 2nd St N
Wichita, KS
Choice Solutions
(316) 293-2900
3020 N Cypress Ste 200
Wichita, KS
Vertical Solutions Inc
(316) 941-9429
2142 W Maple St
Wichita, KS

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

Mersoft Corporation

913-871-6196
9300 W. 110th Street
Overland Park, KS
www.mersoft.com

Related Local Events
Influencing without Authority
Dates: 12/3/2009 - 12/3/2009
Location: CMD Training Center WSU campus
Wichita, KS
View Details

Bio Science Committee
Dates: 6/11/2009 - 6/11/2009
Location: KCK Chamber
Kansas City, KS
View Details

Kansas Main Street Directors Quarterly Training
Dates: 5/19/2009 - 5/20/2009
Location: Downtown Vision & Finnup Center
Garden City, KS
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