Password protection through JavaScript Clarks Summit PA

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

Global Technology Group
(570) 587-0702
Clarks Summit, PA
Patni Computer Systems Inc
(570) 587-0120
Clarks Summit, PA
Brooksource
(610) 687-8777
487 Devon Park Dr
Wayne, PA
Innovative Technologies Group
(610) 541-0200
855 Sussex Blvd
Broomall, PA
Select Consulting Resources Inc
(610) 660-0535
423 Bryn Mawr Ave
Bala Cynwyd, PA
KW Solomon
570-851-4322
PO Box 1424
Kingston, PA
Softconcepts
(570) 586-0637
Clarks Summit, PA
Tei
(570) 586-0204
611 S State St
Clarks Summit, PA
Mts Associates Inc
(610) 966-4113
6889 Chestnut Hill Church
Coopersburg, PA
D3 International Engineering
(610) 565-3040
600 N Jackson St
Media, PA

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

KW Solomon

570-851-4322
PO Box 1424
Kingston, PA
http://www.kwsolomon.com


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