Password protection through JavaScript Dedham MA

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

Roxbury Technology Corporation
(617) 524-1020
3368 Washington Street
Jamaica Plain, MA
iCorps Technologies, Inc.
(617)8682000
529 Main Street
Boston, MA
Arkendale Consulting, LLC
(617) 202-9084
107 Hawthorne Avenue
Auburndale, MA
Providea Conferencing, LLC
(781) 843-6700
2 Adams Place
Quincy, MA
ELI Incorporated
(617)5474005
288 Norfolk Street
Cambridge, MA
Turtle Pond Software
(617)5198179
282 Turtle Pond Parkway
Cambridge, MA
SilverSword Solutions, LLC
(617) 965-9696
1320 Centre Street, Ste. 101
Newton Center, MA
J&C Migrations
+1-617-916-5114
566 Centre Street
Newton, MA
CMIT Solutions-Boston
(617)9452648
119 Braintree Street Suite 601
Cambridge, MA
VIPER consulting_inc
(617)6860170
660 Massachusetts Avenue, Suite 6
Boston, MA

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

Turtle Pond Software

(617)5198179
282 Turtle Pond Parkway
Cambridge, MA

Related Local Events
Software Development Best Practices 2009
Dates: 9/21/2009 - 9/24/2009
Location: Hynes Convention Center
Boston, MA
View Details

EMBEDDED SYSTEMS CONFERENCE - BOSTON 2009
Dates: 9/21/2009 - 9/24/2009
Location: Hynes Convention Center
Boston, MA
View Details

September Networking Breakfast
Dates: 9/15/2009 - 9/15/2009
Location: Holiday Inn Boston - Somerville
Somerville, MA
View Details

September Networking Breakfast
Dates: 9/15/2009 - 9/15/2009
Location: Holiday Inn Boston - Somerville
Somerville, MA
View Details

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