Password protection through JavaScript West Haven CT

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

OFFiS Corporation
203-265-6700
61 N Plains Industrial Rd
Wallingford, CT
Affordable Computer Solutions
(203) 445-8594
122 Garwood Rd
Trumbull, CT
Tallan Inc
(860) 633-5361
628 Hebron Ave Ste 502
Glastonbury, CT
Computer Guys the Llc
(203) 230-1173
35 Palmer Ave
Hamden, CT
Max Q Technologies Inc
(203) 438-6150
9 Berthier Pl
Ridgefield, CT
GoECart
203 336 2284
Park City Plaza, 10 Middle Street
Bridgeport, CT
Bruner Consulting Services Inc
(203) 366-8737
1069 Briarwood Ave
Bridgeport, CT
Computer Troubleshooters
(203) 840-1287
Norwalk, CT
House Calls
(203) 544-9397
3 Main St
Redding, CT
I T Resources Llc
(860) 242-1616
5 Quail Run
Bloomfield, CT

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

GoECart

203 336 2284
Park City Plaza, 10 Middle Street
Bridgeport, CT
http://www.goecart.com

Related Local Events
NET Series: Lunch Bunch
Dates: 1/5/2010 - 1/5/2010
Location: Maneeley's Banquet Facility & Catering
South Windsor, CT
View Details

The New Balancing Act
Dates: 11/5/2009 - 11/5/2009
Location: Acton Public Library
Old Saybrook, CT
View Details

The New Balancing Act
Dates: 11/3/2009 - 11/3/2009
Location: Estuary Council of Seniors
Old Saybrook, CT
View Details

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