Password protection through JavaScript Chambersburg PA

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

MacAnswer
(717) 369-3830
9825 Circle Dr
Chambersburg, PA
D's Computer Consulting
(570) 682-8607
Valley View, PA
Sabre Financial Limited
(610) 889-9733
1 Manchester Ct
Berwyn, PA
Technology Transfer Assoc
(412) 687-8196
3232 Kennett Sq
Pittsburgh, PA
J S Vislocky Llc
(717) 761-4560
765 Poplar Church Rd
Camp Hill, PA
Reed Machinery & Equipment, Inc.
717-597-7147
151 North Washington Street
Greencastle, PA
Sidella Computer Consulting
(717) 264-2639
1105 Sheller Ave
Chambersburg, PA
Fritznetcom
(215) 368-4237
2485 Jean Dr
Hatfield, PA
Computer Help Inc
(610) 449-2553
100 Lincoln Ave
Havertown, PA
Keystone Information Technology Corp
(610) 695-9303
1123 Pebble Spring Dr
Berwyn, PA

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

Reed Machinery & Equipment, Inc.

717-597-7147
151 North Washington Street
Greencastle, PA
http://www.reedmachineryinc.com

Related Local Events
30th Annual York County Chamber Business & Technology Expo Sneak Preview
Dates: 5/4/2010 - 5/4/2010
Location: Toyota Arena York Expo Center
York, PA
View Details

The 30th Annual York County Chamber Business & Technology Expo presented by DOCEO Office Solutions
Dates: 5/5/2010 - 5/5/2010
Location: Toyota Arena York Expo Center
York, PA
View Details

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