Solved

Zend_ACL usage

Posted on 2012-03-14
2
157 Views
Last Modified: 2012-03-23
I have a newbie issue with ZEND function Zend_ACL. Is there anyone that might have used it?
I have a record in a table to define the user, his role, e-mail and password.
How can I use the ZEND_ACL function to implement an access control to certain pages. Some are only accessed by admin role users and other are for regular users to have access.
Can anyone give me a clue on how to use this?
Kind regards
LC
0
Comment
Question by:luciliacoelho
2 Comments
 
LVL 109

Expert Comment

by:Ray Paseur
ID: 37724342
I do not have any clue how to do this with ZEND_ACL, so no points for this response, please.  But I can show you an article that illustrates the theory used in PHP client validation and access control.  If you understand that, it may help you to get a grip on ZEND_ACL.
http://www.experts-exchange.com/Web_Development/Web_Languages-Standards/PHP/A_2391-PHP-login-logout-and-easy-access-control.html

HTH, ~Ray
0
 
LVL 14

Accepted Solution

by:
Scott Madeira earned 500 total points
ID: 37724548
I haven't used that specific module (but it is on my to-do list for a project I want to start someday..)  Here is a tutorial that you may find helpful.  I looked through it and it seemed to make sense and shows using Zend_ACL in a ZF MVC project as well as a non-MVC application.

http://codeutopia.net/blog/2009/02/06/zend_acl-part-1-misconceptions-and-simple-acls/
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Developers of all skill levels should learn to use current best practices when developing websites. However many developers, new and old, fall into the trap of using deprecated features because this is what so many tutorials and books tell them to u…
This article discusses how to create an extensible mechanism for linked drop downs.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

860 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question