A Better Login System - Nettuts+
http://net.tutsplus.com/tutorials/php/a-better-login-system/
ACLZend_Acl part 3: creating and storing dynamic ACLs | CodeUtopia
In this third post of the series, I’ll talk about using dynamic ACLs: How to store an ACL in a database, and construct it from there when needed. This post builds on the things introduced in part 1 and part 2.