Password protection through JavaScript Edwardsville IL

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

Administrative Computer Consultants Co
(217) 253-6488
305 E Sale St
Tuscola, IL
Software Connection Inc
(630) 783-1141
Bolingbrook, IL
Dmg & Associates
(217) 522-5847
2733 E Ash St
Springfield, IL
Quilogy Inc
(618) 622-1730
331 Salem Pl
Fairview Heights, IL
Romaine & Associates
(630) 963-0772
Darien, IL
Brad Carter Inc
(618) 655-0727
Edwardsville, IL
Business Automation Solutions
(847) 291-7320
3821 Lizette Ln
Glenview, IL
Vaccaro Consulting Inc
(630) 832-2223
133 N Caroline Ave
Elmhurst, IL
Bright Objects Inc
(847) 438-1101
21438 N Boschome Cir
Kildeer, IL
Jak Graphic Solutions
(708) 358-1530
Oak Park, IL

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

Open Software Technology

314-854-9138
7777 Bonhomme Ave
St. Louis, MO

Related Articles

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