Password protection through JavaScript Batavia 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

MIKAL Salon and Spa Computers
513-528-5100
4382 Mt Carmel Tobasco Rd
Cincinnati, OH
Cincinnati PC Solutions
513-871-3600
4770 Redbank Expressway
Cincinnati, OH
Logic Technology Inc.
(877) 584-2727
4555 Lake Forest Drive
Cincinnati, OH
Greater Cincinnati Computer
513-985-1300
7024 Plainfield Rd
Cincinnati, OH
A-Hi Computers & Electronics
(513) 531-1111
4030 Montgomery Road
Cincinnati, OH
CinChemPro Inc.
(513) 732-2464
458 West Main Street
Batavia, OH
Armadillo Technologies, LLC
513-368-7809
7281 Brixton Lane
Cincinnati, OH
Galaxy Associates Inc.
(513) 731-6350
4370 Malsbary
Cincinnati, OH
New Horizons Computer Learning Center
(513) 554-0111
10653 Techwoods Circle
Cincinnati, OH
The Shepherd Chemical Co.
(513) 731-1110
4900 Beech Street
Norwood, 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

CinChemPro Inc.

(513) 732-2464
458 West Main Street
Batavia, OH

Related Local Event
Forge Fair 2010
Dates: 4/20/2010 - 4/22/2010
Location: Cincinnati Convention Center
Cincinnati, OH
View Details

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