SunQuest
           Web Design Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignWeb Design Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old April 13th, 2001, 08:47 AM
rmharmon rmharmon is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2000
Location: Cleveland, OH
Posts: 10 rmharmon User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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?

Reply With Quote
  #2  
Old April 13th, 2001, 09:44 AM
wingnut wingnut is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2001
Location: Sint Maarten
Posts: 4 wingnut User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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.

Reply With Quote
  #3  
Old April 18th, 2001, 11:14 PM
bizzk's Avatar
bizzk bizzk is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2001
Location: The Netherlands
Posts: 327 bizzk User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 8
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

Reply With Quote
  #4  
Old April 21st, 2001, 03:37 PM
miroslav miroslav is offline
Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2001
Location: Belgrade, Yugoslavia
Posts: 19 miroslav User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to miroslav
and you can go to file/save or even disable java script

Reply With Quote
  #5  
Old April 21st, 2001, 04:54 PM
pieux pieux is offline
Señor Member
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Aug 2000
Posts: 1,156 pieux User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 17 m 59 sec
Reputation Power: 9
Another possibility is something like this: http://www.kagi.com/equitysoft/imagesafe.html
__________________
Michael

Reply With Quote
  #6  
Old April 22nd, 2001, 12:49 PM
mordecai mordecai is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2001
Posts: 4 mordecai User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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

Reply With Quote
  #7  
Old April 22nd, 2001, 01:46 PM
pieux pieux is offline
Señor Member
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Aug 2000
Posts: 1,156 pieux User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 17 m 59 sec
Reputation Power: 9
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.

Reply With Quote
  #8  
Old April 23rd, 2001, 02:52 AM
bizzk's Avatar
bizzk bizzk is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2001
Location: The Netherlands
Posts: 327 bizzk User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 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

Reply With Quote
  #9  
Old April 23rd, 2001, 03:06 AM
ash ash is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2001
Posts: 9 ash User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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!

Reply With Quote
  #10  
Old April 23rd, 2001, 05:56 AM
bizzk's Avatar
bizzk bizzk is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2001
Location: The Netherlands
Posts: 327 bizzk User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 8
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

Reply With Quote
  #11  
Old April 23rd, 2001, 08:09 AM
pieux pieux is offline
Señor Member
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Aug 2000
Posts: 1,156 pieux User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 17 m 59 sec
Reputation Power: 9
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)

Reply With Quote
  #12  
Old April 24th, 2001, 11:16 AM
LiLgUy LiLgUy is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2001
Posts: 2 LiLgUy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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...

Reply With Quote
  #13  
Old April 24th, 2001, 12:16 PM
bizzk's Avatar
bizzk bizzk is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2001
Location: The Netherlands
Posts: 327 bizzk User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 8
Hi,

Screen capturing will still work:

This is a quote from http://www.kagi.com/equitysoft/imagesafe.html:
Quote:
Note: It should be stressed that screen capture can be done in a second and it's not possible to prevent the saving of what's on the screen.


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

Reply With Quote
  #14  
Old April 25th, 2001, 12:53 PM
Pyro_Ice Pyro_Ice is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2001
Location: USA, TN
Posts: 7 Pyro_Ice User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to Pyro_Ice
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

Reply With Quote
  #15  
Old April 25th, 2001, 01:04 PM
ash ash is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2001
Posts: 9 ash User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
well that would just piss me off, and i would never go to your site again...

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignWeb Design Help > Stealing Images


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump