Password protection through JavaScript Virginia

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

IBM Corp
(757) 446-6200
999 Waterside DR
Norfolk, VA
Digital Image Technology Corp
(757) 623-3709
500 E Plume St
Norfolk, VA
Electronics Boutique
757-465-5977
4200 Portsmouth Blvd
Chesapeake, VA
Paramount Technology Group Inc
757-405-0110
3909 Colony Pointe DR
Chesapeake, VA
Active Computer & Electronics
757-558-8878
2981 S Military Hwy
Chesapeake, VA
Software Development & Services Corporation
703-359-1380
2200 Wilson Blvd
Arlington, VA
Geeks On Call America
(757) 722-3200
814 Kempsville Rd
Norfolk, VA
Patriot Computers
(757) 587-6400
7862 Tidewater Dr
Norfolk, VA
Direct2U Computer Repair
757-803-8126
4213 Schooner Trail
Chesapeake, VA
Torrential Data Solutions Inc
757-222-2000
5604 Virginia Beach Blvd
Virginia Beach, VA

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

IBM Corp

(757) 446-6200
999 Waterside DR
Norfolk, VA

Related Articles
- So, You Want A Remote Control, Huh? Virginia
This is an effect people have been asking for for a long time now. I looked and looked and couldn't find anything on the topic - so you know what I did? I wrote the script myself. Well, I wrote it and JavaScript wizard Andree Growney made it really work.
- Headline Script Virginia
- What's New in JScript .NET? Virginia
- ASP Example 2: Password Protection Virginia
- Browser Detector JavaScript Virginia
- JavaScript Security Virginia
- Language Essentials for Experienced Programmers Virginia
- Checking out your Cookies' Crumbs Virginia
- Third password tutorial Virginia
- Password Protection Virginia
Regional Articles
- Password protection through JavaScript Alexandria VA
- Password protection through JavaScript Annandale VA
- Password protection through JavaScript Arlington VA
- Password protection through JavaScript Ashburn VA
- Password protection through JavaScript Bassett VA
- Password protection through JavaScript Blacksburg VA
- Password protection through JavaScript Bristol VA
- Password protection through JavaScript Burke VA
- Password protection through JavaScript Centreville VA
- Password protection through JavaScript Chantilly VA
- Password protection through JavaScript Charlottesville VA
- Password protection through JavaScript Chesapeake VA
- Password protection through JavaScript Chester VA
- Password protection through JavaScript Chesterfield VA
- Password protection through JavaScript Christiansburg VA
- Password protection through JavaScript Colonial Heights VA
- Password protection through JavaScript Culpeper VA
- Password protection through JavaScript Danville VA
- Password protection through JavaScript Dumfries VA
- Password protection through JavaScript Fairfax Station VA
- Password protection through JavaScript Fairfax VA
- Password protection through JavaScript Falls Church VA
- Password protection through JavaScript Farmville VA
- Password protection through JavaScript Fredericksburg VA
- Password protection through JavaScript Front Royal VA
- Password protection through JavaScript Galax VA
- Password protection through JavaScript Glen Allen VA
- Password protection through JavaScript Hampton VA
- Password protection through JavaScript Harrisonburg VA
- Password protection through JavaScript Herndon VA
- Password protection through JavaScript Hopewell VA
- Password protection through JavaScript King George VA
- Password protection through JavaScript Leesburg VA
- Password protection through JavaScript Lorton VA
- Password protection through JavaScript Lynchburg VA
- Password protection through JavaScript Manassas VA
- Password protection through JavaScript Martinsville VA
- Password protection through JavaScript Mc Lean VA
- Password protection through JavaScript Mechanicsville VA
- Password protection through JavaScript Midlothian VA
- Password protection through JavaScript Newport News VA
- Password protection through JavaScript Norfolk VA
- Password protection through JavaScript Petersburg VA
- Password protection through JavaScript Portsmouth VA
- Password protection through JavaScript Powhatan VA
- Password protection through JavaScript Radford VA
- Password protection through JavaScript Reston VA
- Password protection through JavaScript Richmond VA
- Password protection through JavaScript Roanoke VA
- Password protection through JavaScript Salem VA
- Password protection through JavaScript Spotsylvania VA
- Password protection through JavaScript Springfield VA
- Password protection through JavaScript Stafford VA
- Password protection through JavaScript Staunton VA
- Password protection through JavaScript Sterling VA
- Password protection through JavaScript Suffolk VA
- Password protection through JavaScript Vienna VA
- Password protection through JavaScript Vinton VA
- Password protection through JavaScript Virginia Beach VA
- Password protection through JavaScript Warrenton VA
- Password protection through JavaScript Waynesboro VA
- Password protection through JavaScript Williamsburg VA
- Password protection through JavaScript Winchester VA
- Password protection through JavaScript Woodbridge VA
- Password protection through JavaScript Yorktown VA
Related Local Events
SANS Virginia Beach 2009
Dates: 8/28/2009 - 9/4/2009
Location: Sheraton Oceanfront Virginia Beach
Virginia Beach, VA
View Details

The 2009 Federal Technology Policy Forum
Dates: 7/15/2009 - 7/17/2009
Location: The Performance Institute
Arlington, VA
View Details

4th Annual Military Armor Protection
Dates: 6/23/2009 - 6/26/2009
Location: Hilton McLean
Tysons Corner, VA
View Details

Coalition Warfighter Interoperability Demonstration
Dates: 6/15/2009 - 6/26/2009
Location: Joint Systems Integration Center
Suffolk, VA
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