Password protection through JavaScript Goodlettsville TN

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

Computer Repair
615-882-9446
2744 Old Lebanon RD
Nashville, TN
Peachtree Software Support
615-256-1111
415 4th Ave S
Nashville, TN
Advanced Technical Services
615-747-5810
200 Hill Ave
Nashville, TN
Cumberland Technical Services
615-297-6815
420 Elmington Ave
Nashville, TN
Cbnc LLC
615-831-3270
5360 Edmondson Pike
Nashville, TN
Affiliated Computer Services
615-874-3000
801 Royal Pkwy
Nashville, TN
Advanced Network Solutions
615-277-0500
105 Broadway
Nashville, TN
Crosslin & Associates PC
615-320-5500
2525 W End Ave
Nashville, TN
Computer Services
615-252-8044
230 Willow St
Nashville, TN
Cyberangel Security Solutions Inc
615-837-9191
475 Metroplex DR
Nashville, TN

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

Affiliated Computer Services

615-874-3000
801 Royal Pkwy
Nashville, TN


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