Password protection through JavaScript Marion IA

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

Information Technical Service Corp
(515) 225-8808
1001 Office Park Rd
West Des Moines, IA
Lightwaves Systems
(319) 362-4999
Cedar Rapids, IA
Aspi Solutions Inc
(515) 233-0564
1601 Golden Aspen Dr
Ames, IA
Business Solutions
(515) 224-1440
1441 NW 103rd St
Clive, IA
Robert's Consulting
(319) 848-3493
1571 Sequoya Dr NE
Solon, IA
Ideal Computer Systems Inc
(319) 447-4301
999 35th St Ste B
Marion, IA
Net Direct Systems
(319) 362-4119
6105 Rockwell Dr NE Ste A
Cedar Rapids, IA
Timely Office Solutions
(641) 472-6054
PO Box 2076
Fairfield, IA
New Horizons Computer Learning Centers
(319) 294-9035
1850 Boyson Rd
Hiawatha, IA
Astech
(319) 626-2077
PO Box 317
North Liberty, IA

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

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