Jump to content


Photo

Prevent Copyrighting???


  • Please log in to reply
8 replies to this topic

#1 gk20

gk20
  • Members
  • PipPip
  • Member
  • 14 posts

Posted 14 September 2006 - 10:25 PM

I want to upload pictures/images to my site but I ALSO want to prevent other people from copying them??

How is this possible? That is, that people won't be able to copy any images from my site??
Any help please?

#2 AndyB

AndyB
  • Staff Alumni
  • Advanced Member
  • 5,465 posts
  • LocationToronto

Posted 14 September 2006 - 10:33 PM

Short answers.

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.
Legend has it that reading the manual never killed anyone.
My site

#3 Guest_WarpNacelle_*

Guest_WarpNacelle_*
  • Guests

Posted 14 September 2006 - 10:54 PM

Here's a decent article that will give you some suggestions on how to protect your images but, as stated above, nothing is foolproof.

http://www.sitepoint...ble-right-click

#4 ToonMariner

ToonMariner
  • Members
  • PipPipPip
  • Advanced Member
  • 3,342 posts
  • LocationNewcastle upon Tyne, UK

Posted 15 September 2006 - 12:53 AM

You can make it as hard as you like but the only real way I see of protecting such imges is to water mark them.  This ruins teh picture of course as if you don't bang the watermark right across the image then others will just crop it off.

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....
follow me on twitter @PHPsycho

#5 pkSML

pkSML
  • Members
  • PipPipPip
  • Advanced Member
  • 191 posts
  • LocationBucyrus, Ohio

Posted 16 September 2006 - 01:41 AM

I believe you can get around the browser caching problem with custom HTTP headers.
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.
-Stephen

Need a LitlURL?

Got code to share? --> The Code-Bin

#6 ToonMariner

ToonMariner
  • Members
  • PipPipPip
  • Advanced Member
  • 3,342 posts
  • LocationNewcastle upon Tyne, UK

Posted 16 September 2006 - 02:16 AM

u leanr something every day!

I should go learn about headers properly - Iam sure there ismuch more you can do with them that what I do....
follow me on twitter @PHPsycho

#7 pkSML

pkSML
  • Members
  • PipPipPip
  • Advanced Member
  • 191 posts
  • LocationBucyrus, Ohio

Posted 16 September 2006 - 02:39 AM

If you want to put that header on your images, you can do it one of two ways.

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.)

HTML code:
<img src="image1.php">

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.
-Stephen

Need a LitlURL?

Got code to share? --> The Code-Bin

#8 Wintergreen

Wintergreen
  • Members
  • PipPipPip
  • Advanced Member
  • 107 posts

Posted 18 September 2006 - 12:30 AM

For everything (even gifs I guess if the person is that motivated) they can always just press print screen and resave the picture

#9 Daniel0

Daniel0
  • Staff Alumni
  • Advanced Member
  • 11,956 posts

Posted 18 September 2006 - 06:27 AM

I bet whatever you do I would be able to download the image.

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