Password protection through JavaScript Magna UT

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

Intel Corporation
(801) 445-8080
3740 W 13400 S
Riverton, UT
Phoenix Communications Corp
(801) 438-4000
2573 Eastbourne Dr
Salt Lake City, UT
Nobounds It
(801) 756-1190
343 E Main St
American Fork, UT
Letter Press Software Inc
(435) 755-5996
1770 Research Park Way
Logan, UT
Viaduct Llc
(801) 676-0385
14183 Minuteman Dr
Draper, UT
Wasatch Software
888-275-8850
5093 West 6275 South
West Jordan, UT
Synergy Inc
(801) 393-0001
3564 Lincoln Ave Ste 8
Ogden, UT
Varasi Inc
(801) 733-4804
8539 Sugarloaf Ln
Sandy, UT
Amx Technologies Inc
(801) 532-0711
Salt Lake City, UT
Robert Half Technology
(801) 364-5490
50 W Broadway Ste 500
Salt Lake City, UT

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

Wasatch Software

888-275-8850
5093 West 6275 South
West Jordan, UT
http://www.wasatchsoftware.com

Wasatch Software is a reseller for Microsoft and Adobe software products.

Related Local Event
Conference on Information Technology (CIT)
Dates: 10/19/2009 - 10/22/2008
Location: Salt Palace Convention Center
Salt Lake City, UT
View Details

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