Best place to check user authenticity in a back end module where all pages are only available to mem

Posted by understack on Stack Overflow See other posts from Stack Overflow or by understack
Published on 2010-03-30T20:57:12Z Indexed on 2010/03/30 21:33 UTC
Read the original article Hit count: 276

I've a backend module which could only be accessed by only authorized members. So I need to check authenticity for all actions and for all controllers. Currently I'm doing it inside preDispatch() functions inside controller classes. So it takes care of all the actions inside that controller. But still I've to do it for all controllers. Is there a place I could check it for all the controllers as well. So basically I want one place authenticity check for whole backend module. Can I do it in bootstrap?

© Stack Overflow or respective owner

Related posts about zend-framework

Related posts about authentication