Password protection through JavaScript Rhode Island

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

Design Net Inc
(401) 334-4602
21 Powder Hill Rd
Lincoln, RI
Dg Computer Consulting
(401) 766-5523
16 Bruce Dr
North Smithfield, RI
Champion Technologies
(401) 823-9998
Coventry, RI
Certified Computer Consulting
(401) 615-5378
28 Sunset Ave
West Warwick, RI
Process Technologies Inc
(401) 273-8324
920 Hartford Ave
Johnston, RI
Pro-Saap Llc
(401) 228-6016
65 Valley View Dr
Cranston, RI
Lapis Software Associates Llc
(401) 294-1185
1130 Ten Rod Rd
North Kingstown, RI
Hr Technology Solutions Inc
(401) 272-5353
1 Richmond Sq
Providence, RI
Riccitelli L J & Assoc
(401) 737-5055
111 Ambassador Ave
Warwick, RI
Village Goldsmith Inc the
(401) 944-8404
15 Puritan Ave
Cranston, RI

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
Related Local Events
Fuel Cells 2009
Dates: 7/26/2009 - 7/31/2009
Location: Bryant University
Smithfield, RI
View Details

Gordon Research Conference - Organometallic Chemistry
Dates: 7/12/2009 - 7/17/2009
Location: Salve Regina University
Newport, RI
View Details

Nuclear Physics 2009
Dates: 7/12/2009 - 7/17/2009
Location: Bryant University
Smithfield, RI
View Details

Rss   Delicious   Digg   Add To My Yahoo   Add To My Google   Bookmark   Search Plugin

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