Posted 14 September 2006 - 10:25 PM
How is this possible? That is, that people won't be able to copy any images from my site??
Any help please?
Posted 14 September 2006 - 10:33 PM
If it's on the internet, it can be copied and you can't prevent it.
If you own the copyright, then you own the copyright and apart from defined 'fair use' anyone who uses the material without your consent is in violation of your copyright. That will provide moral satisfaction, but unless you have unlimited funds and very good lawyers that's the very best that's you'll get.
Posted 15 September 2006 - 12:53 AM
Even if you did all the tricks in the book the image will still be cahced on the clint machine - so long as they know where to look then they have it....
Posted 16 September 2006 - 01:41 AM
Note my sig picture you see below for instance. My server - my home computer sent your browser the header: Cache-Control: no-cache. The browser shouldn't save the picture at all.
Note: There's always an exception, so here it is. A program like WinGet will download the file, regardless of the headers.
Posted 16 September 2006 - 02:16 AM
I should go learn about headers properly - Iam sure there ismuch more you can do with them that what I do....
Posted 16 September 2006 - 02:39 AM
1. Via the server - have all the images in a certain folder and set the custom header to apply to all requests from that folder. This is the tricky way, as you must change the configuration for your server, if this is even allowed.
2. Via PHP - you can serve images from a php script. This is very simple. (The sig you see below is displayed with a PHP script.)
PHP code (image1.php):
<?php header('Content-type: image/gif'); //MIME type for file header('Cache-Control: no-cache'); //file not stored in browser cache $handle = file_get_contents("image.gif"); //file to print print "$handle"; fclose($handle); ?>
*Edit: I forgot to add the cache-control header in the PHP code. It's there now.
Posted 18 September 2006 - 12:30 AM
Posted 18 September 2006 - 06:27 AM
The only thing you can do, is to make it more difficult and hope that people will give up.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users