Password protection through JavaScript Fort Valley GA

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

Mind Share Systems
(770) 993-4430
2658 Holcomb Bridge Rd
Alpharetta, GA
MacOn Power
(478) 929-2062
214 2nd St
Warner Robins, GA
Lan Tech Inc
(770) 514-0400
2160 Kingston Ct SE Ste E
Marietta, GA
Ltech Technology Systems
(770) 948-5503
Atlanta, GA
Bmartin Enterprises
(912) 368-8274
Hinesville, GA
Communications Consultants
(770) 457-1114
3688 Clearview Ave
Doraville, GA
Lee International Inc
(770) 447-0444
3671 River Mansion Dr
Duluth, GA
Nextgen Technologies Inc
(404) 995-1150
8 Piedmont Ctr NE
Atlanta, GA
Creative Source Unlimited
(770) 997-5990
1895 Phoenix Blvd
Atlanta, GA
Matra Systems
(770) 931-0038
3355 Breckinridge Blvd Ste 120
Duluth, GA

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

CBS Project Management LLC

770-262-5559
1164 Leslie Place
Lithonia, GA


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