I'm attending CakeFest 2010!

10.2 Simple Acl controlled Application

There is no translation yet for this section. Please help out and translate this.. More information about translations

In this tutorial you will create a simple application with authentication and access control lists. This tutorial assumes you have read the Blog tutorial, and you are familiar with Bake. You should have some experience with CakePHP, and be familiar with MVC concepts. This tutorial is a brief introduction to the AuthComponent and AclComponent.

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