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

Edict Systems Inc
(937) 429-4288
2680 Indian Ripple Rd
Dayton, OH
Patken Group Inc
(937) 435-1640
1911 Cortina Dr
Dayton, OH
Kbe Software Inc
(937) 434-1716
90 Rhoads Center Dr
Dayton, OH
Ncr Corporation
(937) 445-1488
1611 S Main St
Dayton, OH
Ncr Corporation
(937) 445-5000
1700 S Patterson Blvd
Dayton, OH
Apple Sales.com dba Mactown
(937) 435-0134
8975 Kingsridge Drive
Dayton, OH
Ncr Corporation
(937) 297-4720
1233 W Stroop Rd
Dayton, OH
Simplesoft Solutions Inc
(937) 885-1084
10881 Yankee St
Dayton, OH
Modern Logics
(937) 885-4923
801 Saint Simons Ln
Dayton, OH
Paramount Global Solutions Inc
(937) 428-6669
1458 Yankee Park Pl
Dayton, 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

Apple Sales.com dba Mactown

(937) 435-0134
8975 Kingsridge Drive
Dayton, 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