Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Protecting image media in an web application [closed]

we are maintaing a database of image media in a large scale webapplication. The high resolution jpgs are big (> 15MB) and must not be made available for download in any way. Now we need to provide access to the details (crops) of the images to the clients (like a zoom-in function). The client should see a downskaled version of the image and be able to select an area of it to be viewed in the full scale mode (100%).

How could this be implemented in the most performant way (traffic and cpu wise)? We are open to any solution as long as the high resolution image file remains protected. The application is developed in c# and .net framework 3.5.

Any ideas? Thanks in advance!

like image 579
Mats Avatar asked Dec 17 '08 12:12

Mats


People also ask

What is a protected image?

Photographs, illustrations and other images will generally be protected by copyright as artistic works. This means that a user will usually need the permission of the copyright owner(s) if they want to perform certain acts, such as copying the image or sharing it on the internet.

How do I stop someone from Screenshotting a website?

One common method to prevent image theft is simply to disable your website visitors' ability to right/alt-click on images to prevent them from directly saving your images. You might think that this is not particularly effective because people could easily take screenshots of your images.


1 Answers

First thing you will need to do is compress and watermark the images before uploading them to the server. Then present those to the user. This will take the least CPU resources since they images will be static.

I personally would then crop the images for the full size versions and put them up along side the compressed ones. This way the client can have a view of the full image (albeit compressed and watermarked) along side a small sample of the full hi-res version.

You probably want to avoid on-the-fly image manipulation unless you have a low number of clients and a very beefy server.

like image 129
semmons99 Avatar answered Oct 05 '22 15:10

semmons99