hello,
working on development of php application that can display images.
images are stored on server.
how can i protect images, so they can not be accessed outside my php application?
is that possible to do with .htaccess?
thank you in advance!
hello,
working on development of php application that can display images.
images are stored on server.
how can i protect images, so they can not be accessed outside my php application?
is that possible to do with .htaccess?
thank you in advance!
Correct!
However, the standard question deals with “piracy” and there is a pirate protection “script” in mod_rewrite just for that in the sticky threads and linked in my signature.
Regards,
DK
There are two options:
deny from all
With both options you need to serve the images using a php file because browsers won’t be able to access the directly – which is what you want ![]()