Password protection through JavaScript Winsted CT

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

Vinimaya Inc
(203) 926-1748
4 Armstrong Rd Ste 1
Shelton, CT
Alden Novak & Dodd Inc
(860) 285-8198
Windsor, CT
Hitchcock Contemporary Staffing Llc
(860) 257-7343
465 Silas Deane Hwy
Wethersfield, CT
Microsystems Integration Inc
(860) 599-1727
181 S Broad St
Pawcatuck, CT
Destiny Corp
(860) 721-1684
2075 Silas Deane Hwy
Rocky Hill, CT
Microsoft
(860) 916-7448
74 Batterson Park Rd., Ste. 100
Farmington, CT
Statement Matters Llc
(860) 643-1925
881 Main St
Manchester, CT
Universal Inc
(203) 356-1122
800 Summer St
Stamford, CT
Advanced Corporate Networking
(203) 881-9495
60 Silvermine Rd
Seymour, CT
Imperium Llc
(203) 221-1500
164 Kings Hwy N
Westport, CT

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

Microsoft

(860) 916-7448
74 Batterson Park Rd., Ste. 100
Farmington, CT

Related Articles
- So, You Want A Remote Control, Huh? Winsted CT
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.
- JavaScript Security Winsted CT
- Headline Script Winsted CT
- ASP Example 2: Password Protection Winsted CT
- What's New in JScript .NET? Winsted CT
- Browser Detector JavaScript Winsted CT
- Third password tutorial Winsted CT
- Password Protection Winsted CT
- Checking out your Cookies' Crumbs Winsted CT
- Language Essentials for Experienced Programmers Winsted CT
Related Articles
- So, You Want A Remote Control, Huh? Winsted CT
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.
- JavaScript Security Winsted CT
- Headline Script Winsted CT
- ASP Example 2: Password Protection Winsted CT
- What's New in JScript .NET? Winsted CT
- Browser Detector JavaScript Winsted CT
- Third password tutorial Winsted CT
- Password Protection Winsted CT
- Checking out your Cookies' Crumbs Winsted CT
- Language Essentials for Experienced Programmers Winsted CT
Related Local Event
NET Series: Lunch Bunch
Dates: 1/5/2010 - 1/5/2010
Location: Maneeley's Banquet Facility & Catering
South Windsor, CT
View Details

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