By StevenSokulski on
I am creating a photo upload site for an upcoming convention in which attendees will be able to upload photos throughout the week that will become part of a large slideshow at the end of the event. To prevent the service from being abused as an image hosting site is it possible to prevent images from being used on other sites? Would it be doable through a .htaccess file to prevent all image files (.jpg, .gif, .png are about all we use) from appearing on another site using a
tag?
Thanks for any suggestions.
Comments
Yes you can do it through
Yes you can do it through .htaccess using mod_rewrite - the same mod that enables clean urls. There's a number of ways of doing this (google for "prevent hotlinking") but the guide at http://www.albionresearch.com/disaster/sex_sells.php (no adult content) seems good to me.