O'Reilly logo

Perl and Apache: Your visual blueprint for developing dynamic Web content by Adam McDaniel

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 15. AUTHENTICATING A USER SESSION

Understanding Apache User Authentication

By adding support for user authentication to your Web site, you can secure specific Web pages and directories so they are not available publicly on the Internet. Users must input their personal credentials, which are validated using a chosen authentication model. Depending on the model you use, either Apache or a CGI script will consult with an authorization back-end database to confirm whether those credentials are valid.

Before you can begin, you may want to identify which pages you should restrict, and what level of authorization a user requires to view them. The easiest way to do this is to follow the browser-based authentication model and create a special subdirectory, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required