views:

41

answers:

2

Hey all.

I have a zend framework project with 2 modules - admin and default. the admin is for managing my stuff and the default should be used only for my clients. that's why i wanted to limit the default module only to the allowed domains. i searched in google and found that i can can limit the .htaccess by that code: http://www.eukhost.com/forums/f18/get-domain-site-sent-http-request-9388/ [the green and red code].

The problem is that since everything is the zend framework works on the index.php i cant seem to be able to limit the .htaccess only for 1 module. so how can i do that?

thanks

+1  A: 

I would recommend reading up on Zend_Acl: http://devzone.zend.com/article/1665 which will allow you to control which users can access which modules/controllers based on their assigned role

Mark
+1  A: 

Its a good video tutorial. Acl is the solution.

http://www.youtube.com/watch?v=b6qsSnLfcmE

iJD
This video is from www.alex-tech-adventures.com There I'll find more...
Keyne