2009年5月26日星期二

Re: [fw-auth] how to start?

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 <comet2005@gmail.com> 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.


没有评论: