10.3 Simple Acl controlled Application

Welcome to CakePHP if you are totally new to CakePHP check out the Blog tutorial first. If you've already checked out the blog tutorial and have read about or used bake, and need to set up an Auth and ACL user Authentication and Access Control System this is the tutorial for you.

As mentioned before this tutorial assumes you have some experience with CakePHP. You are familiar with all of the MVC core concepts. You are also comfortable using bake and the cake console. If not, learn those concepts first, and then come back. This tutorial will be easier to follow and make much more sense. In this tutorial we will use AuthComponent and AclComponent. If you don't know what they are, check out their pages in the book before proceeding.

What you will need

  1. A running web server. We're going to assume you're using Apache, though the instructions for using other servers should be very similar. We might have to play a little with the server configuration, but most folks can get Cake up and running without any configuration at all.
  2. A database server. We're going to be using mySQL in this tutorial. You'll need to know enough about SQL in order to create a database: Cake will be taking the reigns from there.
  3. Basic PHP knowledge. The more object-oriented programming you've done, the better: but fear not if you're a procedural fan.