Password protection through JavaScript Vermont

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

KGS Software Engineering
(802) 879-7848
Po Box 8286
Essex, VT
Soundshore Technology Group Llc
(802) 457-9235
39 Central St
Woodstock, VT
Divergent Technology Group Inc
(802) 263-9564
Perkinsville, VT
Floating Point Digital
(802) 867-0404
Dorset, VT
New England Industrial Sales Co
(802) 885-1159
Springfield, VT
Open Approach Inc
(802) 453-6646
Bristol, VT
Harley James Computer Consultant
(802) 457-2112
10 Lincoln St
Woodstock, VT
Rcs Consulting
(802) 445-1300
25 Performance Dr
Bennington, VT
Adams Results Unltd
(802) 464-6572
185 Higley Hill Rd
Wilmington, VT
Empower Mobility Llc
(802) 878-9155
Essex Junction, VT

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

KGS Software Engineering

8028797848
Po Box 8286
Essex, VT
http://www.kgsse.com


Rss   Delicious   Digg   Add To My Yahoo   Add To My Google   Bookmark   Search Plugin

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