Solved

Zend_ACL usage

Posted on 2012-03-14
2
161 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

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

Foreword (July, 2015) Since I first wrote this article, years ago, a great many more people have begun using the internet.  They are coming online from every part of the globe, learning, reading, shopping and spending money at an ever-increasing ra…
3 proven steps to speed up Magento powered sites. The article focus is on optimizing time to first byte (TTFB), full page caching and configuring server for optimal performance.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
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 …

623 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