Tutorial :What's the best way to deploy an image servlet to maintain confidentiality of images?



Question:

I have a servlet for allowing manipulations of images - zoom, etc.

What's the best way to deploy this service so that the users of the servlet keep their images confidential?

I assume this means they need to run the servlet on their own servers rather than on mine.

Is there any other way of providing this service to them?


Solution:1

They have to give you the image for you to transform it. You can promise that you delete it immediately afterwards, but your users will have to take your word for that.

File hosting services can maintain confidentiality by hosting only encrypted files that the service operator cannot open themselves. But you cannot manipulate an encrypted image without decrypting it first.

You can use HTTPS to make sure there are no eavesdroppers, and also make sure that you send the image to no one except the owner of the original (as far as you can tell from the login session). You should delete any files as soon as you can.

As you say, the only way to ensure that no one else gets to see the image is to run the application on the user's end.


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »