Re: Strategy to protect images
| From: | tedd | Date: | Sun, 15 Jun 2008 14:48:23 +0000 |
| Subject: | Re: Strategy to protect images | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-275406@lists.php.net to get a copy of this message | ||
At 1:48 PM +0200 6/15/08, Stefano Esposito wrote:
Hi all, i have to forbid users of my site to view images directly (i.e. writing the image URL in the address bar) but they'd be able viewing them from the pages of the site. What's the best way of doing it, or something similar? Is there a common strategy using PHP? Thank you for any hint :-) Ciao, StefanoStefano: As for protecting images, when a user views an image, they have it in their browser. Its' usually a simple process for users to drag and drop the image to their desktop so they can view it anytime they want. You can slow them down by making it a bit more complicated, like so: http://webbytedd.com/b/protect-image/ But, a sophisticated user will find a way around that. The typical way to protect pictures is to provide them as thumbnails and when viewed normal size, then add a watermark (copyright notice or other such image alteration) to the picture, like so: http://webbytedd.com/b/watermark/ Cheers, tedd -- ------- http://sperling.com http://ancientstones.com http://earthstones.com