Solved

Zend_ACL usage

Posted on 2012-03-14
2
159 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 110

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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Popularity Can Be Measured Sometimes we deal with questions of popularity, and we need a way to collect opinions from our clients.  This article shows a simple teaching example of how we might elect a favorite color by letting our clients vote for …
Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this. Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it i…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
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.

734 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