how to start?

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

how to start?

iceangel89
how can i start using Auth/Acl etc?

how can i stop ppl from going say the admin module? must i have a preDispatch() on the admin controllers to chk login and identity or something like that?

and tuts?
Reply | Threaded
Open this post in threaded view
|

Re: how to start?

Jamie Krasnoo
There's plenty of tutorials around that explain how to use Auth and the Acl. There's also more than one way to do it. Cleanest way I've done it is through a plugin that checks to see if you're logged in and if you're not then it reroutes you to the login page. The same plugin can also check the Acl for access and redirect to a denied page or however you want to handle it.

Recently Avi Block wrote a great blog post about this. http://www.aviblock.com/blog/2009/03/19/acl-in-zend-framework/

There's a webcast on the Zend site that you can watch about authentication and authorization. It's free to watch as long as you have an account. That should give you an idea on how to use Zend_Auth.

On Sat, May 23, 2009 at 3:52 AM, iceangel89 <[hidden email]> wrote:

how can i start using Auth/Acl etc?

how can i stop ppl from going say the admin module? must i have a
preDispatch() on the admin controllers to chk login and identity or
something like that?

and tuts?
--
View this message in context: http://www.nabble.com/how-to-start--tp23683360p23683360.html
Sent from the Zend Auth mailing list archive at Nabble.com.