Training, Open Source computer languages

PerlPythonMySQLTclRubyC & C++LuaJavaTomcatPHPhttpdLinux

Search our site for:
Home Accessibility Courses Diary The Mouth Forum Resources Site Map About Us Contact
Protecting images from theft

You want people to visit your website, see your wonderful product and be sold on what you have to offer through wonderful pictures. But you don't want them to take copies of the pictures and use them on their own web sites, nor do you want them to link in to your images and use your costly artwork and bandwidth for their own purposes. Right? It's a bit of a conundrum, isn't it?

The graphics on our website aren't our bread-and-butter living, so I don't mind the odd image being copied or even people using a selection of images - but what if my images were my livelihood? Here are some of the techniques I would look at:

a) Marking the images in some way - either a logo in one corner, or a watermark across the picture. On colour mapped formats, the water mark could be in "white on white" so that it wouldn't be visible to the naked eye, but could be seen via certain software. Some images formats also allow for annotation in their headers.

b) Supplying the online images only at a lower resolution as needed by the web page. This will cut down on theft for print, but the resolution might not be a problem for a web site thief. PHP includes a thumbnailing capability - sample code - which means you can store high resolution on the server but only provide low res on the fly.

c) Image splitting, where images are held in multiple images. Try to copy the whole image below onto your web site - you won't find it as easy as usual ;-) :



Once again, PHP can help you with the setup.

The techniques I have listed above all effect what's sent to the client when the graphics are being displayed, but there are some other server based techniques you could use if you've got a setup where you can front your images with PHP. Indeed, it can be much more efficient too for you to store large numbers of images in a MySQL database (or other database) rather than in a file-and-folder structure where the operating system efficiency isn't brilliant with tens of thousands of files!

d) Track and log image requests in your PHP by incoming IP address, and once a certain IP address has requested more then 20 images in a five minute period (say), start adding watermarks to the pictures through the PHP.

e) Check the referer field, and only supply unwatermarked images where the referer is a know page on your own site.

You need to code these facilities carefully bearing in mind that you may WANT spiders like Google images to grab all your pictures, and you won't want to piss off your very interested genuine customers who call up a lot of pages in their excitement with your site. Also remember that people can go to the trouble of falsifying headers if they want. You may come up with a scheme that logs image requests, and simple emails you the first time there's an unusual referer from another site, allowing you to put in a "watermark" or even "this image is stolen" response when the same remote image request comes up again.
(written 2006-05-12 06:18:52)

 
Associated topics are indexed under
G902 - Well House Consultants - Web site techniques, utility and visibility
W512 - Web and Intranet - Site Design Aspects

Back to
A customer service company
Previous and next
or
Horse's mouth home
Forward to
Gardens, Well House Consultants HQ
Some other Articles
I'm answering a job applicant
Residential
Planning a hotel refurb - an example of a Gant chart in PHP
Gardens, Well House Consultants HQ
Protecting images from theft
A customer service company
Evaluating arithmetic expressions in configuration files
First way to get rid of customers
Room for Octopuses
Pictures from my travels
1893 posts, page by page
Link to page ... 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38 at 50 posts per page


This is a page archived from The Horse's Mouth at http://www.wellho.net/horse/ - the diary and writings of Graham Ellis. Every attempt was made to provide current information at the time the page was written, but things do move forward in our business - new software releases, price changes, new techniques. Please check back via our main site for current courses, prices, versions, etc - any mention of a price in "The Horse's Mouth" cannot be taken as an offer to supply at that price.

Link to Ezine home page (for reading).
Link to Blogging home page (to add comments).

© WELL HOUSE CONSULTANTS LTD., 2008: Well House Manor • 48 Spa Road • Melksham, Wiltshire • United Kingdom • SN12 7NY
PH: 0800 043 8225 or 01225 708225 • FAX: 0845 8382 405 or 01225 707126 • EMAIL: info@wellho.net • WEB: http://www.wellho.net • SKYPE: wellho