News Feed
Jobs Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Juozas Kaziukenas' Blog:
ACL made easy. Part 1
March 23, 2010 @ 10:38:52

Juozas Kaziukenas has posted the first part in his look at making ACL easy (access control lists). His examples are more specific to the Zend_Acl component of the Zend Framework, but the concepts can be translated across several different ACL tools out there.

Every now and then I see questions about ACL and how to use it. A lot of web developers are using it without actually knowing what it is and how it works, even though it's powering one of the most important part of applications - user access management.

He starts off with the base level of what an ACL is and how it would work in your application (illustrated by a wrong and right way to handle a simple permission in an application). He talks about roles, resources and privileges as well as how applications using the MVC design pattern make it simple to check the current resource. He also mentions an issue that could be confusing - inheritance.

0 comments voice your opinion now!
acl zendacl zendframework access control role resource privileges


blog comments powered by Disqus

Similar Posts

Chris Hartjes' Blog: Zend_Service_Audioscrobbler moves to Zend Framework Core

PHPFreaks.com: Template based document generation using LiveDocx and Zend Framework

TechPortal: Custom Zend Framework Form Elements

Refulz.com: CakePHP AclComponent - ACOs, AROs and Mapping

Version Control Blog: Upgrading Drupal with Git


Community Events











Don't see your event here?
Let us know!


application install composer unittest release example overview facebook code package hack opinion hhvm introduction podcast security component framework symfony2 language

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework