I need to make sure anyone accessing image files (or css, js or anything) in public/ are logged in - but in my standard setup this is not the case. I have zend_auth and acl controlling login and perms and this works for all controllers and actions as expected. But there is no control for assets in the public tree. i.e. if someone knows and enters the url for an image they do not need to be logged in to get it.
How do I do this?