Password protection through JavaScript Montana

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

Click Here Designs, LLC
406-883-6237
314 First Street East Suite 202
Polson, MT
Computer Port
406-883-6237
314 First Street East Suite 202
Polson, MT
Mastertrack Software
(406) 538-5800
942 Maiden Rd
Lewistown, MT
Ims Racing
(406) 252-7210
848 Main St
Billings, MT
Isc Distributors
(406) 586-3105
101 E Mendenhall St
Bozeman, MT
Design Services
(406) 586-2674
2100 Fairway Dr
Bozeman, MT
Synesis 7
(406) 496-6400
220 N Alaska St
Butte, MT
Montana Gbs
(406) 541-2323
126 E Broadway St
Missoula, MT
Johnson and Associates Inc
(406) 458-9173
Helena, MT
Concise Logic
(406) 572-3323
10 Jawbone Rd
Martinsdale, MT

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

Click Here Designs, LLC

406-883-6237
314 First Street East Suite 202
Polson, MT
http://www.clickheredesigns.com/

Click Here Designs, LLC has been creating professional websites from Polson since 1997. Our extensive portfolio is available on our website. We offer complete web development services, including search engine optimization, web site maintenance, and complete webmaster services. When in doubtClick Here.


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