Password protection through JavaScript Sulphur LA

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

Ultimate Solutions
(504) 822-8240
2609 Canal St Ste 200
New Orleans, LA
Automatic
(504) 362-5110
1700 Central Blvd
Harvey, LA
Help Software Systems
(225) 928-3121
10249 Cashel Ave
Baton Rouge, LA
Sei Consultants
(985) 781-1015
429 South St
Slidell, LA
Aims
(318) 323-2467
235 Desiard St
Monroe, LA
Vital Information Systems
(985) 345-8391
303 S Pine St
Hammond, LA
Ultimate Solutions
(504) 342-2734
3520 General Degaulle Dr Ste 1010
New Orleans, LA
Stoltz Enterprises Inc
(985) 863-5714
67301 Bill Stoltz Rd
Pearl River, LA
Coe & Company Llc
(225) 293-8686
Baton Rouge, LA
Louisiana Computer Corp
(504) 218-5960
3500 N Hullen St
Metairie, LA

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

Celevoke, Inc.

936-334-1800
1308 North Main St
Liberty, TX


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