Password protection through JavaScript Delaware

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

Smart Button
302.283.0200
300 Creek View Road
Newark, DE
Infotech Inc
(302) 622-8414
802 N West St
Wilmington, DE
Ship Star Associates Inc
(302) 738-7782
36 Woodhill Dr
Newark, DE
Xcs Corporation
(302) 838-8844
Newark, DE
Wwd Technology Solutions Group
(302) 254-4662
824 N Market St
Wilmington, DE
Rogers Road Computers
(302) 777-3264
Wilmington, DE
Rippe Kingston Financial Software Llc
(302) 654-2007
104 Somerset Rd
Wilmington, DE
Paretta Associates
(302) 994-9662
219 N Spring Valley Rd
Wilmington, DE
Grey Matter Inc
(302) 832-9317
Delaware City, DE
Vercuity Academy Hill
(302) 456-1944
Newark, DE

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

Smart Button

302.283.0200
300 Creek View Road
Newark, DE
http://www.smartbutton.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