Password protection through JavaScript Wyoming

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

Sample Master
(307) 235-6437
535 N Lennox St
Casper, WY
Rnd Consulting
(307) 382-4503
901 Eisenhower Dr
Rock Springs, WY
Realtime Inc
(307) 684-1606
4 Cowboy Trl
Buffalo, WY
Raven Group the
(307) 473-8446
Casper, WY
Erc Computing Services
(307) 638-7614
516 Randall Ave
Cheyenne, WY
Microtechnology Consultants
(307) 265-2570
364 N Nebraska Ave
Casper, WY
Roys Tech Works
(307) 632-5663
Cheyenne, WY
Advanced Integrators
(307) 637-3488
Cheyenne, WY
Computing Alternatives Inc
(307) 637-7007
Cheyenne, WY
Gbs Consulting
(307) 634-4626
3701 Ostdiek Ct
Cheyenne, WY

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
Board of Directors
Dates: 2/16/2010 - 2/16/2010
Location: Chamber of Commerce
Gillette, WY
View Details

Board of Directors
Dates: 5/18/2010 - 5/18/2010
Location: Chamber of Commerce
Gillette, WY
View Details

Board of Directors
Dates: 9/21/2010 - 9/21/2010
Location: Chamber of Commerce
Gillette, WY
View Details

Board of Directors
Dates: 11/17/2009 - 11/17/2009
Location: Chamber of Commerce
Gillette, WY
View Details

NEWCA Board Meeting
Dates: 9/3/2009 - 9/3/2009
Location: Chamber of Commerce
Gillette, WY
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