Chapter 15. Restricting Access to Your Applications

This hour explains how to use Apache to restrict access to parts of a Web site based on the identity of the user or on information about the request. On the application side, you can create your own mechanism for user validation and check the validity of your users through cookies.

In this hour, you will learn

  • How to restrict access based on the user, client IP address, domain name, and browser version

  • How to use the user management tools provided with Apache

  • How to store and retrieve cookie information

  • How to use cookies for authentication

Authentication Overview

Authorization and authentication are common requirements for many Web sites. Authentication establishes the identity of parties in a communication. ...

Get Sams Teach Yourself PHP, MySQL™ and Apache in 24 Hours 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.