How can I know if someone is directly accessing my public img directory?
Hello,
I'd like to be able to know if someone is directly accessing images from my /webroot/img directory. Is this possible?
For instance if they type in: http://mydomain/img/picture.jpg
I should be able to check for this in my beforeFilter like I can for my actions, but it doesn't seem to pick up requests from webroot.
Thanks,
Andrew
-- You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com.
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en-US.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home