In a my project in Ruby On Rails (but this is not important), when I load a html page, I need to decrypt an image (jpg) and show it in the web page: after the page request, the image is decrypted an the file is write on the server disk, so the browser can show the image.
I don't want to write the image on the server, but I want to encrypt the image on the fly !
I think that ajax (jquery) could be helpfull, but I don't know how use it to the image on the fly (without write the image on the disk).
Do you have any Idea ?
thank you, Alessandro