Password protection through JavaScript Gorham ME

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

Infoharbor
(207) 865-3994
Freeport, ME
Phil Brown Associates Inc
(207) 871-7044
758 Main St
South Portland, ME
Quadic Systems Inc
(207) 773-2662
39 Darling Ave Ste 3
South Portland, ME
Norton Lamb & Company
(207) 846-3166
30 Forest Falls Dr
Yarmouth, ME
Its Inc
(207) 667-0489
Ellsworth, ME
Office Solutions ME
207-319-6045
Portland Rd
Gray, ME
Quaid Donald & Associates
(207) 725-0808
288 Mere Point Rd
Brunswick, ME
Eaton Mountain Data Services
(207) 293-9355
Kimball Pd-Cross Rd
Vienna, ME
Banctec
(207) 278-5649
223 Pratt Rd
Newport, ME
Pinnacle Development Group
(207) 783-7216
10 Falcon Rd
Lewiston, ME

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

Office Solutions ME

207-319-6045
Portland Rd
Gray, ME


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