Password protection through JavaScript Maryland

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

Disaster Recovery By CCP
410-247-7000
4367 Hollins Ferry Rd Suite 2B
Baltimore, MD
A E C Solutions
410-823-5007
6510 Falls RD
Baltimore, MD
Legal Technology Solutions
410-547-8596
36 S Charles St
Baltimore, MD
USinternetworking, An AT&T Company
410-897-3506
2500 Riva Road
Annapolis, MD
Universal Software Solutions Inc
410-358-8851
6506 Cross Country Blvd
Baltimore, MD
Early Morning Software Inc
410-539-0901
227 Holliday St
Baltimore, MD
Gp Solutions Inc
410-244-8548
201 N Charles St
Baltimore, MD
Affiliated Computer Services Inc
410-347-0794
200 Holliday St
Baltimore, MD
HypeOffice
1.301.255.0018
6101 Executive Blvd. #115
Rockville, MD
Accessing Cadd
410-296-0888
2545 Wilkens Ave
Baltimore, MD

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

Disaster Recovery By CCP

410-247-7000
4367 Hollins Ferry Rd Suite 2B
Baltimore, MD
http://www.ccp-solutions.com

Related Articles
- Checking out your Cookies' Crumbs Maryland
Do you know what is stored in your cookies? If not, it is simple to see the contents of a cookie! This article explains what you need to enter into your browser to see the cookie from any web page. It's probably easier than you think!
- Language Essentials for Experienced Programmers Maryland
- JavaScript Security Maryland
- ASP Example 2: Password Protection Maryland
- What's New in JScript .NET? Maryland
- So, You Want A Remote Control, Huh? Maryland
- Third password tutorial Maryland
- Headline Script Maryland
- Password Protection Maryland
- Browser Detector JavaScript Maryland
Regional Articles
- Password protection through JavaScript Annapolis MD
- Password protection through JavaScript Baltimore MD
- Password protection through JavaScript Bel Air MD
- Password protection through JavaScript Beltsville MD
- Password protection through JavaScript Bethesda MD
- Password protection through JavaScript Bowie MD
- Password protection through JavaScript Brooklyn MD
- Password protection through JavaScript Capitol Heights MD
- Password protection through JavaScript Catonsville MD
- Password protection through JavaScript Chevy Chase MD
- Password protection through JavaScript Clinton MD
- Password protection through JavaScript Cockeysville MD
- Password protection through JavaScript College Park MD
- Password protection through JavaScript Columbia MD
- Password protection through JavaScript Crofton MD
- Password protection through JavaScript Cumberland MD
- Password protection through JavaScript Derwood MD
- Password protection through JavaScript District Heights MD
- Password protection through JavaScript Dundalk MD
- Password protection through JavaScript Edgewood MD
- Password protection through JavaScript Elkridge MD
- Password protection through JavaScript Elkton MD
- Password protection through JavaScript Ellicott City MD
- Password protection through JavaScript Essex MD
- Password protection through JavaScript Forest Hill MD
- Password protection through JavaScript Fort Washington MD
- Password protection through JavaScript Frederick MD
- Password protection through JavaScript Frostburg MD
- Password protection through JavaScript Gaithersburg MD
- Password protection through JavaScript Germantown MD
- Password protection through JavaScript Glen Burnie MD
- Password protection through JavaScript Greenbelt MD
- Password protection through JavaScript Gwynn Oak MD
- Password protection through JavaScript Hagerstown MD
- Password protection through JavaScript Halethorpe MD
- Password protection through JavaScript Havre De Grace MD
- Password protection through JavaScript Hyattsville MD
- Password protection through JavaScript Jessup MD
- Password protection through JavaScript Joppa MD
- Password protection through JavaScript Kensington MD
- Password protection through JavaScript La Plata MD
- Password protection through JavaScript Lanham MD
- Password protection through JavaScript Laurel MD
- Password protection through JavaScript Lexington Park MD
- Password protection through JavaScript Lusby MD
- Password protection through JavaScript Lutherville Timonium MD
- Password protection through JavaScript Middle River MD
- Password protection through JavaScript Millersville MD
- Password protection through JavaScript Montgomery Village MD
- Password protection through JavaScript Mount Airy MD
- Password protection through JavaScript Nottingham MD
- Password protection through JavaScript Odenton MD
- Password protection through JavaScript Olney MD
- Password protection through JavaScript Owings Mills MD
- Password protection through JavaScript Oxon Hill MD
- Password protection through JavaScript Parkville MD
- Password protection through JavaScript Pasadena MD
- Password protection through JavaScript Pikesville MD
- Password protection through JavaScript Potomac MD
- Password protection through JavaScript Randallstown MD
- Password protection through JavaScript Reisterstown MD
- Password protection through JavaScript Rockville MD
- Password protection through JavaScript Rosedale MD
- Password protection through JavaScript Salisbury MD
- Password protection through JavaScript Severn MD
- Password protection through JavaScript Severna Park MD
- Password protection through JavaScript Silver Spring MD
- Password protection through JavaScript Suitland MD
- Password protection through JavaScript Sykesville MD
- Password protection through JavaScript Takoma Park MD
- Password protection through JavaScript Temple Hills MD
- Password protection through JavaScript Towson MD
- Password protection through JavaScript Upper Marlboro MD
- Password protection through JavaScript Waldorf MD
- Password protection through JavaScript Westminster MD
- Password protection through JavaScript Windsor Mill MD
Related Local Events
National Facilities Management & Technology (NFMT)
Dates: 3/16/2010 - 3/28/2010
Location: Baltimore Convention Center
Baltimore, MD
View Details

CSI 2009: The Next Phase In Security
Dates: 10/24/2009 - 10/30/2009
Location: Gaylord National Resort and Convention Center
National Harbor, MD
View Details

E-Tail Baltimore
Dates: 8/3/2009 - 8/6/2009
Location: Hilton Baltimore
Baltimore, MD
View Details

Gartner IT Security Summit Washington
Dates: 6/27/2009 - 6/28/2009
Location: Gaylord National Hotel & Convention Center
National Harbor, MD
View Details

Indian Head Division/Naval Surface Warfare Center (NSWC) Technology Transfer Showcase
Dates: 6/25/2009 - 6/25/2009
Location: The Village Green Pavilion
Indian Head, MD
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