Password protection through JavaScript Iowa

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

F 1 Computer Services
(319) 545-1511
Tiffin, IA
Silicon Plains Technologies
(515) 225-8700
8530 New York Ave
Urbandale, IA
Ice Technoligies Inc
(319) 373-2005
204 Collins Rd NE
Cedar Rapids, IA
Technical Solution Design Proffesional
(563) 359-6060
5129 Utica Ridge Rd
Davenport, IA
Crescent Technologies Inc
(563) 323-7126
929 College Ave
Davenport, IA
Eurosoft
(712) 255-7483
700 Jackson St
Sioux City, IA
Infoweb Systems Inc
(563) 582-5042
3435 Asbury Rd Ste 175
Dubuque, IA
Palmer Group
(515) 225-7000
3737 Woodland Ave Ste 300
West Des Moines, IA
Hybrid Technologies
(319) 367-2230
207 E Linder St
New London, IA
Softechnics Inc
(515) 327-9300
4500 Westown Pkwy Ste 250
West Des Moines, IA

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
Chamber Coffee - Vantus Bank
Dates: 11/18/2009 - 11/18/2009
Location: Le Mars Chamber of Commerce
Le Mars, IA
View Details

Chamber Coffee - The Living Center
Dates: 11/11/2009 - 11/11/2009
Location: Le Mars Chamber of Commerce
Le Mars, IA
View Details

8/14/09 - Technology and Professional Communication Capatibility
Dates: 8/14/2009 - 8/14/2009
Location: TS Bank Solution Center
Council Bluffs, IA
View Details

University of Okoboji 3.5 Open Water Swim
Dates: 8/1/2009 - 8/1/2009
Location: Pikes Point,
Okoboji, IA
View Details

ArtsLIVE Yourth Festival
Dates: 7/20/2009 - 7/20/2009
Location: Camp Foster YMCA
Spirit Lake, IA
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