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

Osi Software Inc
(440) 442-2165
5885 Landerbrook Dr
Cleveland, OH
Metro Computer Resources Inc
(440) 926-1385
419 Main St
Grafton, OH
Pathfinder Technologies
(614) 891-4136
164 Orchard Ln
Westerville, OH
Paros Business Partners
(614) 340-6411
1460 Manning Pkwy
Powell, OH
3rd Evolution
(614) 573-6190
4393 Tuller Rd
Columbus, OH
Computer Technology Applications Inc
(937) 434-7277
4749 James Hill Rd
Dayton, OH
Info From Data Corp
(330) 724-9000
1804 Brown St
Akron, OH
E S P Inc
(330) 864-1750
2680 W Market St
Fairlawn, OH
Smm Assocs
(330) 629-2916
6655 Ron Park Pl
Youngstown, OH
Recursive Technologies
(937) 438-8795
1440 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