ASP Example 2: Password Protection Maine

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

Local Companies

Computer Science Corp
(207) 442-7997
700 Washington St
Bath, ME
Wess Management
(207) 725-0700
14 Maine St
Brunswick, ME
Bob's Techcom
(207) 467-8151
1370 Portland Rd
Arundel, ME
Mesda
(207) 856-0138
506 Main St
Westbrook, ME
Active Corp
(207) 326-9100
Main
Castine, ME
Micro Marine Information Company Inc
(207) 872-5794
233 Main St Ste D
Waterville, ME
Northern Data Systems
(207) 781-3236
362 US Route 1
Falmouth, ME
Sriven Systems
(207) 772-3233
477 Congress St
Portland, ME
Philson Assoc
(207) 985-0225
14 Depot St
Kennebunk, ME
Opencube Technologies
(207) 947-3777
700 Mount Hope Ave
Bangor, ME

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

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