Password protection through JavaScript Maine

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

Norton Lamb & Company
(207) 846-3166
30 Forest Falls Dr
Yarmouth, ME
Pinnacle Development Group
(207) 783-7216
10 Falcon Rd
Lewiston, ME
Its Inc
(207) 667-0489
Ellsworth, ME
Verity Software House
(207) 729-6767
45A Augusta Rd
Topsham, ME
Professional Software Solutions
(207) 828-1096
100 Commercial St
Portland, ME
Sriven Infosys Inc
(207) 774-1700
Portland, ME
Fiber M Technologies
(207) 942-2222
257 Harlow St
Bangor, ME
Ic Solutions Inc
(207) 883-8696
15 Holly St
Scarborough, ME
Integrated Mapping Services Inc
(207) 236-3485
58 Bayview St
Camden, ME
Icsa Inc
(207) 774-3838
477 Congress St
Portland, 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
Related Local Events
Strong Women Workout
Dates: 12/1/2009 - 12/1/2009
Location: WALDO COUNTY GENERAL HOSPITAL'S EDUCATION CENTER
BELFAST, ME
View Details

Fitness Ball Workout
Dates: 12/8/2009 - 12/8/2009
Location: WALDO COUNTY GENERAL HOSPITAL'S EDUCATION CENTER
BELFAST, ME
View Details

Fitness Ball Workout
Dates: 12/10/2009 - 12/10/2009
Location: WALDO COUNTY GENERAL HOSPITAL'S EDUCATION CENTER
BELFAST, ME
View Details

Strong Women Workout
Dates: 12/17/2009 - 12/17/2009
Location: WALDO COUNTY GENERAL HOSPITAL'S EDUCATION CENTER
BELFAST, ME
View Details

Fitness Ball Workout
Dates: 5/7/2010 - 5/7/2009
Location: WALDO COUNTY GENERAL HOSPITAL'S EDUCATION CENTER
BELFAST, ME
View Details

Rss   Delicious   Digg   Add To My Yahoo   Add To My Google   Bookmark   Search Plugin

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