Hello,
I have an images in a directory that I want to protect from viewing by people finding out the direct link to the images.
I have a couple of ideas on how to do this, but cant seem to find a solution.
- only allow the images to be viewed when called via php
- automatically redirect the browser to another file eg index file when somebody tries to call a jpg file in the browser
I have tried a lot of rewrite codes but nothing will block the original images but still let the php file call them.
any ideas ?
Cheers.