ProductCart E-Commerce Solutions Homepage
Forum Home Forum Home > ProductCart > Suggestions
  New Posts New Posts RSS Feed - Image Hotlinking
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Image Hotlinking

 Post Reply Post Reply
Author
Message
whizzinpc View Drop Down
Newbie
Newbie
Avatar

Joined: 17-January-2006
Location: California
Status: Offline
Points: 20
Post Options Post Options   Thanks (0) Thanks(0)   Quote whizzinpc Quote  Post ReplyReply Direct Link To This Post Topic: Image Hotlinking
    Posted: 03-February-2010 at 12:11pm
It would be nice if productcart didn't show the URL of all the images to prevent hotlinking and also something to prevent images from being downloaded.
Back to Top
Greg Dinger View Drop Down
Certified ProductCart Developers
Certified ProductCart Developers
Avatar

Joined: 23-September-2006
Location: United States
Status: Offline
Points: 238
Post Options Post Options   Thanks (0) Thanks(0)   Quote Greg Dinger Quote  Post ReplyReply Direct Link To This Post Posted: 03-February-2010 at 12:20pm
Whizz - to prevent hotlinking you might want to consider http://www.helicontech.com/hotlinkblocker/
 
As for preventing images from being downloaded, that's nearly impossible.  If an image or any other object is browsed on the web, it is downloaded to the visitor's computer.  With sufficient skills, they can find that file in their browser cache. There are schemes such as a javascript that will prevent right-click, but then you just go to the browser's menu and view source in order to form a URL to the image. 
 
If competitors are downloading images and that's causing you grief, you need to consider watermarking your product images.
Back to Top
Hamish View Drop Down
Admin Group
Admin Group


Joined: 12-October-2006
Location: United Kingdom
Status: Offline
Points: 56
Post Options Post Options   Thanks (0) Thanks(0)   Quote Hamish Quote  Post ReplyReply Direct Link To This Post Posted: 03-February-2010 at 12:46pm
Hi Whizzinpc - I'm in agreement with Greg here. The only way to discourage images being copied is to watermark them. Every other approach can be bypassed, usually in several ways. Everything from righ click & saving to taking a screenshot.

Hotlinking is a different matter - Google is your friend here & prevention is a hosting issue not a ProductCart one.
Back to Top
whizzinpc View Drop Down
Newbie
Newbie
Avatar

Joined: 17-January-2006
Location: California
Status: Offline
Points: 20
Post Options Post Options   Thanks (0) Thanks(0)   Quote whizzinpc Quote  Post ReplyReply Direct Link To This Post Posted: 05-April-2010 at 4:00pm
If anyone is interested... we ended up using our existing isapi rewrite instead of installing hotlink blocker. Here is the code for v2.0

# Block image hotlinking
RewriteCond %HTTPS (?!on).*
RewriteCond Host: (.+)
RewriteCond Referer: (?!http://\1.*).*
RewriteRule .*\.(?:gif|jpg|png) /block.gif [I,O]
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.047 seconds.