Password protection through JavaScript Forest City NC

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

Center Point Solutions
(919) 781-2212
2501 Blue Ridge Rd
Raleigh, NC
Love Enterprises
(336) 351-5130
1130 Love Farm Rd
Pilot Mountain, NC
Digital Information Systems
(919) 828-2300
521 Uwharrie Ct Ste C
Raleigh, NC
Dyncorp
(919) 469-2994
101 Southcenter Ct
Morrisville, NC
Chambers & Associates
(910) 371-3075
1553 Grandiflora Dr
Leland, NC
Saiyana Llc
(919) 319-4345
Cary, NC
Uxcomm
(919) 562-5501
1805 Shady Hill Ln
Wake Forest, NC
Suz's Software
(336) 889-2443
1560 N Main St
High Point, NC
Braun Info Tech Systems
(704) 279-5625
105 Five R Rd
Granite Quarry, NC
Crossbit Solutions
(919) 678-1812
401 Harrison Oaks Blvd
Cary, NC

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

Charlotte Web Design & Development

7045778242
Commodore point rd
Lake Wylie, SC
http://www.charlottewebdevelopment.com


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