Password protection through JavaScript Euclid OH

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

Priority One Solutions
216-298-4020
2130 Superior Ave E
Cleveland, OH
Computer Solutions
216-475-4414
4335 Cranwood Pkwy
Cleveland, OH
Customized Solutions Inc
216-464-2230
26650 Renaissance Pkwy
Cleveland, OH
Software Under Flap
216-661-2000
4819 Bridge Ave
Cleveland, OH
Pointe Blank Solutions
440-243-5100
7055 Engle RD
Cleveland, OH
Application Design Consultants Inc
216-292-6636
2614 Butterwing RD
Cleveland, OH
Business Solutions
216-475-4751
4335 Cranwood Pkwy
Cleveland, OH
Customized Solutions
216-663-8640
5042 Corbin DR
Cleveland, OH
Blue Technologies
216-271-4800
5885 Grant Ave
Cleveland, OH
Value Software
440-886-3211
5556 Pearl RD
Cleveland, OH

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

Application Design Consultants Inc

216-292-6636
2614 Butterwing RD
Cleveland, OH

Related Local Event
Earth Science Day
Dates: 10/17/2009 - 10/17/2009
Location: Cleveland Museum of Natural History
Cleveland, OH
View Details

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