Forums
This topic is locked
Prevent graphic copying
Posted 16 Sep 2005 21:27:09
1
has voted
16 Sep 2005 21:27:09 Norma Braden posted:
I have been tasked with finding out how to keep our graphics from being copied. From what I can tell, there is no way to stop the determined hacker but that there are ways to deter the average user such as using javascript to disable the right click button. Does anybody else have any ideas? Replies
Replied 17 Sep 2005 11:57:24
17 Sep 2005 11:57:24 Dave Thomas replied:
the people are wasting your time.
u stop the right click, they view your source and grab it anyway. it's already in their cache so god knows why they want to steal it AGAIN . absolute waste of time trying to stop normal page graphics being taken.
the only real time i've seen images stopping getting stolen, is when they show you a thumbnail, and only allow access to the larger pic thru a subscription etc.. like on photo purchase sites.
regards
Dave Thomas
<b>DMX Zone Manager</b>
u stop the right click, they view your source and grab it anyway. it's already in their cache so god knows why they want to steal it AGAIN . absolute waste of time trying to stop normal page graphics being taken.
the only real time i've seen images stopping getting stolen, is when they show you a thumbnail, and only allow access to the larger pic thru a subscription etc.. like on photo purchase sites.
regards
Dave Thomas
<b>DMX Zone Manager</b>
Replied 17 Sep 2005 17:22:22
17 Sep 2005 17:22:22 Jeremy Conn replied:
This code isn't foolproof (as already discussed), but this is the JavaScript I use to accomplish what you are asking.
To see it in action, check out some images in the 'Photo Gallery' sections of this website I developed:
www.mdemshki.com
<b>PLACE THIS IN BETWEEN YOUR <head></head> TAGS</b>
<script language=JavaScript>
<!--
//
//
//
var message="All images copyright Michael Demshki.";
///////////////////////////////////
function clickIE4(){
if (event.button==2){
alert(message);
return false;
}
}
function clickNS4(e){
if (document.layers||document.getElementById&&!document.all){
if (e.which==2||e.which==3){
alert(message);
return false;
}
}
}
if (document.layers){
document.captureEvents(Event.MOUSEDOWN);
document.onmousedown=clickNS4;
}
else if (document.all&&!document.getElementById){
document.onmousedown=clickIE4;
}
document.oncontextmenu=new Function("alert(message);return false"
// -->
</script>
<b>Connman21</b>
www.conncreativemedia.com
DWMX2004 | ASP/VB | Access/SQL2000
To see it in action, check out some images in the 'Photo Gallery' sections of this website I developed:
www.mdemshki.com
<b>PLACE THIS IN BETWEEN YOUR <head></head> TAGS</b>
<script language=JavaScript>
<!--
//
//
//
var message="All images copyright Michael Demshki.";
///////////////////////////////////
function clickIE4(){
if (event.button==2){
alert(message);
return false;
}
}
function clickNS4(e){
if (document.layers||document.getElementById&&!document.all){
if (e.which==2||e.which==3){
alert(message);
return false;
}
}
}
if (document.layers){
document.captureEvents(Event.MOUSEDOWN);
document.onmousedown=clickNS4;
}
else if (document.all&&!document.getElementById){
document.onmousedown=clickIE4;
}
document.oncontextmenu=new Function("alert(message);return false"
// -->
</script>
<b>Connman21</b>
www.conncreativemedia.com
DWMX2004 | ASP/VB | Access/SQL2000
Replied 21 Sep 2005 17:52:01
21 Sep 2005 17:52:01 Jeremy Conn replied:
Does this accomplish what you were looking for?
<b>Jeremy Conn</b>
www.conncreativemedia.com
DWMX2004 | ASP/VB | Access/SQL2000
<b>Jeremy Conn</b>
www.conncreativemedia.com
DWMX2004 | ASP/VB | Access/SQL2000
Replied 23 Sep 2005 21:45:00
23 Sep 2005 21:45:00 Jayne Hofer replied:
Jeremy --
This is very cool!
Thanks for sharing...
Sky
This is very cool!
Thanks for sharing...
Sky