News 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

Michelangelo van Dam: Bootstrapping ZF1 application in Apigilty

Sudheer Satyanarayana's Blog: Zend Date Class Constants Cheat Sheet

Pádraic Brady's Blog: OpenID library for the Zend Framework?

PHP in Action Blog: Flash Messages

Nick Halstead's Blog: Making a TAG Cloud out of Zend_Cache


Community Events

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


podcast symfony2 api series conference introduction opinion library performance voicesoftheelephpant community release interview framework example laravel version extension xdebug php7

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