oad.asp?file=auth/login.asp">Download logout.asp Logs you out. Kills the Session and Cookies. View Source
Download protected.asp A page that is only accessible to someone who is logged in. Otherwise, they are redirected to the login page. View Source
Download unprotected.asp An unprotected page that does, however, display special content for people who happen to be logged in. View Source
Download userlist.asp The file that contains the username/passwords. Because it is an asp file, you cannot directly try to download this file to see the usernames and passwords. View Source
Download inc/auth.asp The file that looks at cookies to see if you can log in, checks your authentication status, and redirects to the login page if you are not authenticated. This file shouldn't be "run" by itself, but rather included into the ASP file you want to protect. View Source
Download auth.zip The entire contents of this tutorial, zipped for your convenience. Download

Creative Commons License
This work is licensed under a Creative Commons License.
aardwulf systems