Wednesday, September 4, 2013

cPanel - How to control permission of files so only I can show them, but they cannot directly go to it?

cPanel - How to control permission of files so only I can show them, but
they cannot directly go to it?

Say I have a folder /images. Is there a way to limit access to the folder,
so that if someone goes to /images/myImage.png, they cannot view it, but
if I can still display the image on my site, i.e. <img
src='/images/myImage.png' /> still shows on website?
Thanks

No comments:

Post a Comment