Chapter 25. Restricting Access to Your Applications

In this chapter, you learn the following:

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

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.

Authentication Overview

Authorization and authentication are common requirements for many websites. Before continuing, ...

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