Password protection through JavaScript East Greenwich RI

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

Hathaway Center
(401) 467-5890
95 Hathaway St
Providence, RI
Smith Donald M
(401) 823-4740
8 Birchwood Ln
West Warwick, RI
Kyran Research Associates Inc
(401) 849-7734
127 John Clarke Rd
Middletown, RI
Sea Corporation
(401) 847-2260
62 Johnny Cake Hill Rd
Middletown, RI
Maximum Messaging
(401) 941-1947
14 Friendly Rd
Providence, RI
Connekted Inc
(401) 886-5111
4547 Post Rd
East Greenwich, RI
Systems Resource Management Inc
(401) 849-2913
42 Valley Rd
Middletown, RI
Prosoft
(401) 848-0134
1272 W Main Rd
Middletown, RI
Labyrinth Business Solutions Llc
(401) 843-8700
40 Mary St
Newport, RI
Clune Jos P
(401) 766-0600
68 Cumberland St
Woonsocket, RI

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

Coronella Associates, Inc.

(508) 376-8872
2 Milliston Road, Suite 1D
Millis, MA


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