ASP Example 2: Password Protection

Learn to set up a password-protected directory using Active Server Pages.

provided by: 
Originally published at Internet.com


[What You're Going To Need]
[Alter For Your Server]
[Protection Concerns]

Okay, here we go with Active Server Pages (ASP) Example Number Two. I should say that if you stopped by this page simply because of its offering a password system, then you may want to read over the original ASP tutorial first. Here, I'm going to assume you understand the concept of ASP and what it actually does. So go and give the first tutorial a once-over and come back. You'll get a great Server Side Include script for your trouble.

This is a stunning piece of work. So many people want a password protected page, but their server can't or won't set up a password protected directory ( So You Want A Password Protected Page, Huh? ). There are also JavaScript password systems, but those are usually fairly easy to crack by looking at the source code.
This pup is so much better because everything goes on behind the scenes and cannot be viewed by a normal browser. You really do need to have access to the pages themselves through FTP to get the code. It's a great system for protecting singular pages against people you'd rather not have sniffing around.

What You're Going To Need

This system works with five different pages: * password.asp is the form users fill out. * engine.asp is the VBScript that checks their entries. * invalid.asp is the page users get from invalid login and password. * inyougo.asp is the page they get with correct login and password. * passwords.txt is the text page that contains the passwords...

Read article at Internet.com site
Related Articles
- Learning PHP: Installing and Configuring
Before you can begin programming with PHP, you must first install and configure it on your system. In this second article of the Learning PHP series, Liz Fulghum teaches you how.
- Third password tutorial
- Password protection through JavaScript
- Headline Script
- Password Protection
Regional Articles
- ASP Example 2: Password Protection Alabama
- ASP Example 2: Password Protection Alaska
- ASP Example 2: Password Protection Arizona
- ASP Example 2: Password Protection Arkansas
- ASP Example 2: Password Protection California
- ASP Example 2: Password Protection Colorado
- ASP Example 2: Password Protection Connecticut
- ASP Example 2: Password Protection DC
- ASP Example 2: Password Protection Delaware
- ASP Example 2: Password Protection Florida
- ASP Example 2: Password Protection Georgia
- ASP Example 2: Password Protection Hawaii
- ASP Example 2: Password Protection Idaho
- ASP Example 2: Password Protection Illinois
- ASP Example 2: Password Protection Indiana
- ASP Example 2: Password Protection Iowa
- ASP Example 2: Password Protection Kansas
- ASP Example 2: Password Protection Kentucky
- ASP Example 2: Password Protection Louisiana
- ASP Example 2: Password Protection Maine
- ASP Example 2: Password Protection Maryland
- ASP Example 2: Password Protection Massachusetts
- ASP Example 2: Password Protection Michigan
- ASP Example 2: Password Protection Minnesota
- ASP Example 2: Password Protection Mississippi
- ASP Example 2: Password Protection Missouri
- ASP Example 2: Password Protection Montana
- ASP Example 2: Password Protection Nebraska
- ASP Example 2: Password Protection Nevada
- ASP Example 2: Password Protection New Hampshire
- ASP Example 2: Password Protection New Jersey
- ASP Example 2: Password Protection New Mexico
- ASP Example 2: Password Protection New York
- ASP Example 2: Password Protection North Carolina
- ASP Example 2: Password Protection North Dakota
- ASP Example 2: Password Protection Ohio
- ASP Example 2: Password Protection Oklahoma
- ASP Example 2: Password Protection Oregon
- ASP Example 2: Password Protection Pennsylvania
- ASP Example 2: Password Protection Rhode Island
- ASP Example 2: Password Protection South Carolina
- ASP Example 2: Password Protection South Dakota
- ASP Example 2: Password Protection Tennessee
- ASP Example 2: Password Protection Texas
- ASP Example 2: Password Protection Utah
- ASP Example 2: Password Protection Vermont
- ASP Example 2: Password Protection Virginia
- ASP Example 2: Password Protection Washington
- ASP Example 2: Password Protection West Virginia
- ASP Example 2: Password Protection Wisconsin
- ASP Example 2: Password Protection Wyoming
Related Articles
- Learning PHP: Installing and Configuring
Before you can begin programming with PHP, you must first install and configure it on your system. In this second article of the Learning PHP series, Liz Fulghum teaches you how.
- Third password tutorial
- Password protection through JavaScript
- Headline Script
- Password Protection

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