O'Reilly logo

Sams Teach Yourself PHP, MySQL® and Apache All in One, Second Edition by Julie C. Meloni

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required