To register for an Internet.com membership to receive newsletters and white papers, use the Register button ABOVE.
To participate in the message forums BELOW, click here
PHPBuilder.com  
 

 

Go Back   PHPBuilder.com > Misc Help > ClientSide Technologies

ClientSide Technologies Discuss HTML/CSS/Javascript, and any other client-side technologies, here.

Reply
 
Thread Tools Rate Thread Display Modes
Old 04-25-2006, 07:42 AM   #1
tbobker
Senior Member
 
Join Date: Feb 2006
Posts: 193
stealing pics from website

Does anyone know how to stop people stealing your pictures from your website - not allow people to right click and save image?
tbobker is offline   Reply With Quote
Old 04-25-2006, 07:49 AM   #2
Pobega
Member
 
Join Date: Apr 2006
Posts: 43
Even if you don't allow Right Click people can still use your Page Source and Page Info. And even if you get rid of their toolbars, they can still hit the shortcut keys. So I personally think that isn't possible.
Pobega is offline   Reply With Quote
Old 04-25-2006, 07:50 AM   #3
tbobker
Senior Member
 
Join Date: Feb 2006
Posts: 193
ok, found out how!

http://www.rgagnon.com/jsdetails/js-0061.html
tbobker is offline   Reply With Quote
Old 04-25-2006, 07:52 AM   #4
stewartship
Stew The Saint
 
stewartship's Avatar
 
Join Date: Apr 2006
Location: London
Posts: 138
i know you have to encrypt the pages, and there are a couple of products that you can buy that do this but the following seems to be a walkthrough that is free:

http://www.seocompany.ca/software/fr...-software.html

hope it helps!
__________________
Any Sufficiently Advanced Technology is Indistinguishable From Magic
stewartship is offline   Reply With Quote
Old 04-25-2006, 08:32 AM   #5
laserlight
PHP Witch
 
laserlight's Avatar
 
Join Date: Apr 2003
Location: Singapore
Posts: 12,388
If you use Apache webserver, you can try what is described in Preventing hot linking of images and other file types.

Trying to stop right clicking just makes the interface you present to the user non-standard. It can be easily circumvented anyway.

Quote:
i know you have to encrypt the pages, and there are a couple of products that you can buy that do this but the following seems to be a walkthrough that is free
The site you linked to talks about serverside code encryption and obfuscation. In this case, clientside code is the question.
__________________
Use Bazaar for your version control system
Read the PHP Spellbook
Learn How To Ask Questions The Smart Way
laserlight is offline   Reply With Quote
Old 04-25-2006, 09:15 AM   #6
n_wattam
Senior Member
 
Join Date: Jul 2005
Posts: 267
store the image in a varible and then out put the image as a varible, however you still have things like print screen and then with a simple graphic app you can still get the images.
n_wattam is offline   Reply With Quote
Old 04-25-2006, 09:15 AM   #7
Weedpacket
Custom User Title™
 
Weedpacket's Avatar
 
Join Date: Aug 2002
Location: Rapid Offensive Unit "Foreign Object Damage"
Posts: 19,124
Quote:
Originally Posted by laserlight
In this case, clientside code is the question.
And as such, I'll shift it to the ClientSide Technologies forum.

But I will add: once it's on their computer they can do what they like with it. The only people you can stop are those who don't know how to.
__________________
On two occasions I have been asked [by Members of Parliament], "Pray, Mr. Babbage, if you put into the machine wrong figures, will the right answers come out?" I am not able rightly to apprehend the kind of confusion of ideas that could provoke such a question.

Last edited by Weedpacket; 04-25-2006 at 09:18 AM.
Weedpacket is offline   Reply With Quote
Old 04-25-2006, 09:30 AM   #8
MarkR
Senior Member
 
Join Date: Jul 2004
Location: Oxford, England
Posts: 1,983
Trapping the right-click obviously won't do the trick - it is trivially defeated.

One option I've seen used is to cut the image into several irregularly shaped pieces and layer them on top of each other. Even someone who saves out the individual images would still need to recombine them.

Having said that, nothing prevents the user screenshotting the browser and using that image, so the entire effort is more or less pointless.

Mark
MarkR is offline   Reply With Quote
Old 04-25-2006, 10:13 AM   #9
JPnyc
Administrator
 
Join Date: Jan 2005
Posts: 963
There's no way to stop them. The best method is water marking your images. Even if you stop r-clicking, encrypt, and do whatever else you like, I can get the image in a minute. You can de-crypt a page with a netscape browser in a few seconds. You can disable Javascript and there goes your No R-click script. And finally, you can take a screen shot and crop out the image you want. Watermarking is the best approach.
__________________
PHP builder Online Community Manager

JPnyc is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -4. The time now is 06:14 PM.






Acceptable Use Policy

internet.comMediabistrojusttechjobs.comGraphics.com

WebMediaBrands Corporate Info


Advertise | Newsletters | Feedback | Submit News

Legal Notices | Licensing | Permissions | Privacy Policy


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.