Password protection through JavaScript Idaho

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

Integrinet Solutions
(208) 376-0500
10020 W Fairview Ave
Boise, ID
Intelligent Employment Solutions
(208) 377-0945
7964 W Fairview Ave
Boise, ID
Blackfin Technology
(208) 338-1581
1702 W Fairview Ave
Boise, ID
Capital City Computer Services
(208) 376-7471
9194 W Calico St
Boise, ID
Microsoft Dynamics Gp Nav Solutions Center
(208) 344-5098
7699 W Riverside Dr
Boise, ID
S1 IT Solutions
(208) 381-0679
420 W Main St
Boise, ID
Aagave Solutions LLC
(208) 331-4593
202 N 9th St
Boise, ID
Employment Solutions Inc
(208) 323-0883
260 S Cole Rd
Boise, ID
Analyze Soft
(208) 343-2075
3514 S Crosspoint Ave
Boise, ID
Cougar Mountain Software Inc
(208) 375-4455
7180 Potomac Dr
Boise, ID

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

Integrinet Solutions

(208) 376-0500
10020 W Fairview Ave
Boise, ID

Related Articles
- So, You Want A Remote Control, Huh? Idaho
This is an effect people have been asking for for a long time now. I looked and looked and couldn't find anything on the topic - so you know what I did? I wrote the script myself. Well, I wrote it and JavaScript wizard Andree Growney made it really work.
- JavaScript Security Idaho
- Third password tutorial Idaho
- Language Essentials for Experienced Programmers Idaho
- Password Protection Idaho
- What's New in JScript .NET? Idaho
- Checking out your Cookies' Crumbs Idaho
- ASP Example 2: Password Protection Idaho
- Browser Detector JavaScript Idaho
- Headline Script Idaho

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