Password protection through JavaScript Ada OK

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

Black Diamond Computer Corp
(405) 340-8206
3126 S Boulevard St
Edmond, OK
Schooldesx
(918) 664-8383
4150 S 100th East Ave
Tulsa, OK
4Site Solutions Llc
(405) 605-1175
3601 N Classen Blvd Ste 202
Oklahoma City, OK
I G T S
(580) 480-1700
209 N Main St
Altus, OK
Hudson Technology Solutions
(580) 772-2224
214 W Main St
Weatherford, OK
Redbud Valley Consulting Co Inc
(918) 343-3407
7433 E Heather Dr
Claremore, OK
Emonarch
(918) 523-3102
2448 E 81st St
Tulsa, OK
Data Design Inc
(405) 321-0354
2408 Tee Cir
Norman, OK
PC Works
(580) 536-5987
6516 NW Cache Rd
Lawton, OK
Wallun Data Processing
(405) 354-0395
508 W Vandament Ave
Yukon, OK

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

Medical Office Solutions

405-737-3157
1113 S Douglas Blvd
Oklahoma City, OK


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