Password protection through JavaScript Birdsboro PA

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

LANtek, Inc.
(610) 776-7145
40 Willow Street
Kutztown, PA
Accell Inc
(610) 582-2200
Birdsboro, PA
Jms Inc
(724) 776-3132
North
Pittsburgh, PA
Transfer Technology
(717) 232-3102
423 Walnut St Apt 308
Harrisburg, PA
Furno Joseph D & Associates Independent Consulting
(814) 333-3174
628 Arch St
Meadville, PA
Dellicker Strategies
(610) 395-6261
1647 Ashley Court
Kutztown, PA
Kapps Consulting Llc
(610) 582-1778
285 Colorado Dr
Birdsboro, PA
Buoni William G Computer Consultant
(610) 582-0755
116 Valley Rd
Birdsboro, PA
Tlc Technologies Inc
(610) 770-9052
1120 S Cedar Crest Blvd
Allentown, PA
Servtec Llc
(215) 884-8020
432 Tulpehocken Ave
Elkins Park, PA

 

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

Dellicker Strategies

(610) 395-6261
1647 Ashley Court
Kutztown, PA

Related Local Events
Career & Technical Awards Luncheon
Dates: 5/13/2010 - 5/13/2010
Location: Heritage Ballrooms
Holmes, PA
View Details

Learn about Windows 7
Dates: 2/10/2010 - 2/10/2010
Location: The Delaware County Chamber of Commerce
Media, PA
View Details

Hot Java at the Watercooler
Dates: 12/23/2009 - 1/23/2010
Location: Odyssey Travel
Skippack, PA
View Details

IT Roundtable
Dates: 11/10/2009 - 11/10/2009
Location: D&E Communications
Brownstown, PA
View Details

Fraser Advanced Information Systems Mixer
Dates: 10/29/2009 - 10/29/2009
Location:
Bethlehem, PA
View Details

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