Password protection through JavaScript Portales NM

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

D PC Services
(505) 564-3200
2705 Cliffside Dr
Farmington, NM
The Only Company
(505) 526-8050
1007 W Picacho Ave
Las Cruces, NM
B & B Technologies Ltd Co
(505) 345-9499
6610 Gulton Ct NE
Albuquerque, NM
Inicom Networks Inc
(505) 222-0660
500 4th St NW Ste 1000
Albuquerque, NM
Kemtah Group
(505) 534-1443
3845 N Swan St
Silver City, NM
Rexray Vision Computer Services
(505) 989-3996
Railyard At Manhatta
Santa Fe, NM
Abba Technologies Inc
(505) 889-3337
1501 San Pedro Dr NE
Albuquerque, NM
Advanced Data Systems
(505) 899-6441
Albuquerque, NM
Stearns Enterprises
(505) 262-0570
1420 Carlisle Blvd NE
Albuquerque, NM
Spencer Weldon O Jr
(505) 336-8203
717 High Mesa Rd
Alto, NM

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

Computer Parts USA

(806) 687-6660
4719 W Loop 289
Lubbock, TX


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