back

Chapter 20: Password Protection

Name Description
register.html User Registration Program - for .htaccess file (example)
secure User test for .htaccess file (example)
-------------------- -------------------------------------------------------------------------
register2.html User Registration Program - for mod_auth_mysql (example)
forgotpass.html Forgot-my-Password Program - for MySQL (example)
secure2/passchg.cgi Change Password Program - for MySQL (example)
-------------------- -------------------------------------------------------------------------
login.cgi Cookie-based Authentication: Login program (example)
securepage.cgi Cookie-based Authentication: Secure Page (example)
logout.cgi Cookie-based Authentication: Logout Program (example)

Errata

Under Cookie-Based Authentication, if you include the IP address check in your user validate script, this could cause some users to be unable to login. Drop the IP address check for better compatibility.

Resources