Is there a reliable way to prevent the browser from downloading
(copyrighted) images? I’ve seen some sites that try and I was able to
work around it in a minute.
I’m guessing there’s an Ajax technique analogous to writing to
innerHTML that would write the binary data. Writing an img tag that
way doesn’t seem very secure.
One alternative I can think of is to make a hardlink on the server
from the filename to a temporary filename that I delete as soon as the
download is done.
I could have the url refer to some specific action that does a
‘render’ but users ‘save file’ would go to the same action.
Come to think of it, it probably depends on what browser they’re
Any ideas, code or references will be appreciated.