You can't...
cause the user can use the PRINT SCREEN function, in your "view mode",
so why bother for the "Save Image As..."
the photo companys use a watermark to avoid copping, this wattermark is
visible in all images and will be remove if you pay for it, so, my opinion
is: Forget about it or use JavaScript Client Side to block the right mouse
click, like this:
<script language="JavaScript"> <!--
// No rightclick script v.2.5
// (c) 1998 barts1000
//
ba*******@aol.com
// Don't delete this header!
var message="Sorry, that function is disabled.\n\nContents & Graphics
Copyright ©your name\nOur work is not Public Domain, and should NOT be taken
from this site."; // Message for the alert box
// Don't edit below!
function click(e) {
if (document.all) {
if (event.button == 2) {
alert(message);
return false;
}
}
if (document.layers) {
if (e.which == 3) {
alert(message);
return false;
}
}
}
if (document.layers) {
document.captureEvents(Event.MOUSEDOWN);
}
document.onmousedown=click;
// --> </script>
"david" <da***@discussions.microsoft.com> escreveu na mensagem
news:A4**********************************@microsof t.com...
Foe example, I have a file (image) display application (maybe in client
side)
and my server application can show the path/name of the file. When I click
the file in the IE, I am asked for either "save" or "open" in a popup
window.
How can I set some property in server side such that the "save" is
disabled,
i.e., the client can only open the file to view but not save to his local
machine.
Thanks
David