jeudi 21 février 2019

Display image in a browser, but without leaving trail in the browser history?

How should I go about displaying an image in the browser and not allowing users to reload the same image later from the browser history? I feel like I need some kind of document viewer that I can embed in my web application to show sensitive images/documents. Any ideas?

The images located in a secure folder (not accessible directly via HTTP). I can display them by converting them into Base64 first, and then show them in the browser (by setting src="" to Base64 encoding value). However, doing so, of course, leaves the request/response trail in the browser history. I need a way to NOT leave such trail in the browser. (Maybe there is some way to display image "in-memory" or something along these lines.) Thanks.




Aucun commentaire:

Enregistrer un commentaire