Encrypt image with php to prevent download in HTML Email?

I got a request from a client asking to "encrypt some images to prevent people from downloading them". This will be within an HTML email from some email sending application that I do not know of at this time, so I will need to use a string for the source such as "http://somewhere.com/images/img.jpg" etc. Does that kind of thing even exist? The only thing I can think of is 'encrypting' an image so instead of the src being "whatever/img.jpg", it would be "http://somewhere.com/img.php?i=12383824724. But I am just spitballing and don't know how that would work. Before you start answering:

  1. Client knows we can put a watermark on the images
  2. Client knows we can put image as a background (using appropriate methods for cross client compatibility)

Any ideas? Thanks all,

Fil

Answers


If the user can see the image, he has already downloaded it. Preventing a user from downloading an image means preventing him from seeing it. And that seems rather pointless.

What you may want is to prevent your user from saving the already downloaded image to a file or elsewhere. That would only be possible if you'd have perfect control over the environment in which the user is viewing the image, including anything in front of the screen like a digital camera. I.e., it is futile.


Need Your Help

What's wrong with my XNA cube?

c# winforms 3d xna

I'm following this sample trying to build on it. I incorporated the code into my solution, which is a windows form app (a little tricky w/ XNA).

How To Capture Text Using Mouse Pointer And Keyboard Shortcuts?

c# java text-capture

i want to capture text from opened windows using mouse pointer and keyboard shortcut using C# or java

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.