Hi, I am migrating my regular apps to use ZF's MVC. Currently I have an admin directory where I put all my php that perform administration actions and protect this admin with a .htaccess.
Ex. a news module /var/www/html/news.php /var/www/html/admin/news/search.php add.php update.php delete.php I already have all action in a controller and they are working fine but I need to do something in order to : a) force the admin actions to require authentication. I already know how to use Zend_Auth, but need to force this for several actions if possible without repeating myself. Should I put in init()? b) find out if it's better to have two separate controllers one for 'outside' usage NewsController = i.e see the news, send comments, and other AdminNewsController for all administrative tasks. thanks.
