Image security
Posted: Mon Jun 19, 2006 9:20 am
I've got this little question. I doubt there is a way to do it, but I wanted to ask you to be certain.
Is there a way to secure an image in such a way, that the image can only be shown when it is called by a (php) script?
If you are wondering why I would want such thing: well, I have some images that only members should be able to see. I don't want everyone to be able to see the images via anything like http://www.site.com/image.jpg.
I know this has got more to do with CHMOD than with php probably
I hope I'm clear in my explanation; any help would be appreciated.
Is there a way to secure an image in such a way, that the image can only be shown when it is called by a (php) script?
If you are wondering why I would want such thing: well, I have some images that only members should be able to see. I don't want everyone to be able to see the images via anything like http://www.site.com/image.jpg.
I know this has got more to do with CHMOD than with php probably
I hope I'm clear in my explanation; any help would be appreciated.