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, ...

Get Perl and Apache: Your visual blueprint for developing dynamic Web content now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.