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

Community News: Book Release: "Easy PHP Websites with the Zend Framework" (W. Jason Gilmore)

Raphael Stolt's Blog: Zend Framework coding standards on one page

Rob Allen's Blog: Using your own View object with Zend_Application

Rob Allen's Blog: Modules (Zend Framework)

Padraic Brady's Blog: Zend Framework: Surviving The Deep End, Chapter 3 - The Model Available


Community Events





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


conference interview voicesoftheelephpant list podcast code introduction language deployment api release series zendserver bugfix framework tips threedevsandamaybe laravel symfony community

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