Chapter 24. Restricting Access to Your Applications

This chapter explains how to use Apache (on the server side) 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 of things, you can create your own mechanism for user validation and check the validity of your users through cookies.

In this chapter, 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 ...

Get Sams Teach Yourself PHP, MySQL® and Apache All in One, Second Edition 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.