|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
A client of mine wants to make it impossible to right click and download images from her website. Does anyone know if/how this can be done?
|
|
#2
|
|||
|
|||
|
Stolen Images
I have seen it done where the 'right-click' to save has been disabled through javascript. However, this does not protect your image from being stolen. The user can still pull it from their browser cache or or use a 3rd party screen capture utility (built-in on the MacOS) to capture the image. Even the DigiMark watermark in photoshop does not stop anyone from stealing you image, it only facilitates the legal action from your part to find a resolution between owner and thief.
|
|
#3
|
||||
|
||||
|
It is never possible to protect your images for 100%. You can prevent your visitors from right clicking by the following JavaScript (put it in the <head></head>):
<SCRIPT language=JavaScript> var message="Sorry, it is not possible to use your right-mouse button on this site"; 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> I hope this helps, Bizzk |
|
#4
|
|||
|
|||
|
and you can go to file/save or even disable java script
![]() |
|
#5
|
|||
|
|||
|
Another possibility is something like this: http://www.kagi.com/equitysoft/imagesafe.html
__________________
Michael
|
|
#6
|
|||
|
|||
|
have you considerd slicing the image into smaller images
then if someone wants to copy the image they have to go to a lot of trouble to do it dave |
|
#7
|
|||
|
|||
|
Keep in mind, that...
Ultimately, if someone really wants an image, all they have to do is take a screenshot of the web page. The only way you are going to prevent that is if you require for them to use a custom application to view the images.
|
|
#8
|
||||
|
||||
|
Mordecais idea is very useful. You have 2 options:
1. Build a custom application for viewing images or spend money on some image protecting service. 2. Use slicing and JavaScript. Option 1 is the safest (however it might still be possible to steal your images) but it has many disadvantages, like loss of usability for your visitors and it takes a lot of extra work and money. Option 2 would be my choice, because this is a nice protection (if you want to protect something for 100% you shouldn’t put it online) but it doesn’t cost to much work or money. More important: most visitors won’t download any special program (some might even think it is a virus!). Another idea (I don’t know if it is useful) use Flash, it is still possible to steal the images but it is a little bit harder. Regards, Bizzk |
|
#9
|
|||
|
|||
|
there is nothing you can do to keep people from stealing your images...slice the image all you want...create a script to disallow right clicking...put them in a "special" image application...
2 words for you: print screen there is not way to get around it... now that i think about it, maybe if you can detect if the print screen button is pressed via js....well no, that wont work either, i will just make the browser window inactive, and the js is not running...print screen. client is out of luck! ![]() |
|
#10
|
||||
|
||||
|
Ash, you are completly right!
But isn't it smart to make it a little bit harder to steal the images? With "Print Screen" you can steal all the images you want. But most people are to lazy (or to stupid), when they find out that their right mouse button doesn't work, they give up. Bizzk |
|
#11
|
|||
|
|||
|
That's true, but in Netscape Navigator, you can go to the "View" menu to "Page Info" (ctrl-I) and get a nice list of all the images on the page (amongst other things).
(Internet Explorer does have something similar through Images List, but it requires right-clicking to activate) |
|
#12
|
|||
|
|||
|
ImageSafe is for those who have an image they want people to see but not in a form that can be easily copied. To do this the product encapsulates webpage images in a Java applet for viewing. This means:
Images can be viewed using Netscape 4.06 or better as well as Internet Explorer 4.0 or better. Images can't be retrieved from the cache or server nor can they be right clicked and the applet can be prevented from running locally. A single HTTP request fetches the applet and image with a total download overhead typically around 2.9K. A line of text or second image can move across the main image to frustrate screen capture. Animated GIFs as well as static GIFs and JPEGs can be protected and this can be done in batches. Batches of many thousands of images can be processed at once A view-by date can be specified after which the images will no longer appear. Images can link to other webpages like any other webpage image. ImageSafe can password protect images without requiring any CGI programming. This is done by setting a password on the image and by getting ImageSafe to generate a special file, about 1K in size. This file could be e-mailed to authorized viewers of the image but it must exist on the viewing PC's disk for the image to be seen. I am not sure but I think what is in bold would make print screen to not work... |
|
#13
|
||||
|
||||
|
Hi,
Screen capturing will still work: This is a quote from http://www.kagi.com/equitysoft/imagesafe.html: Quote:
With "frustrating" they mean that you can animate the image and that will make capturing it from the screen a little harder (when you press print screen everything on the screen is saved, so when you try to steal an image which is animated you must get all the parts of the image, it is pretty annoying but it can be done, it's even quite easy). Regards, Bizzk |
|
#14
|
|||
|
|||
|
Best No-Right Click Script
Here is a script that i coded. I think it is the best no-right click out. It gives the client 1 warning and then if they do it again it freezes the browser. Should work in IE and NS. If it doesnt, post a reply.
Code:
<SCRIPT LANGUAGE="JavaScript">
/*
This script was coded by: Pyro_Ice
Part of EclipceNet© 2001 & EclipceNet.com©
*/
document.onmousedown=click
var times=0
var times2=10
function click() {
if ((event.button==2) || (event.button==3)) {
if (times>=1) { bye() }
alert("Function Disabled"); times++ } }
function bye() {
alert("Your privilages of veiwing this\npage have been removed.")
var color = new Array;
color[1] = "black";
for(x = 0; x <5; x++){
document.bgColor = color[x]
if(x == 1){
x = 0;}};}
</SCRIPT>
If you use this code, please leave the credits in. Thanx |
|
#15
|
|||
|
|||
|
well that would just piss me off, and i would never go to your site again...
|
![]() |
| Viewing: Dev Shed Forums > Web Design > Web Design Help > Stealing Images |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|