Chapter 25. Restricting Access to Your Applications

This chapter explains how to use Apache to restrict access to parts of a website 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 websites. Authentication establishes the identity of parties ...

Get Sams Teach Yourself PHP, MySQL and Apache: All in One, Third Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.