Print Page | Close Window

Image Hotlinking

Printed From: ProductCart E-Commerce Solutions
Category: ProductCart
Forum Name: Suggestions
Forum Description: ProductCart Suggestions
URL: https://forum.productcart.com/forum_posts.asp?TID=3402
Printed Date: 22-November-2024 at 4:13pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Image Hotlinking
Posted By: whizzinpc
Subject: Image Hotlinking
Date 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.



Replies:
Posted By: Greg Dinger
Date Posted: 03-February-2010 at 12:20pm
Whizz - to prevent hotlinking you might want to consider http://www.helicontech.com/hotlinkblocker/ - 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.


-------------
GreyBeard Design Group

Certified ProductCart Developer

Web Design/Development/Hosting

http://tinyurl.com/5c8t4t" rel="nofollow - Add-Ons & Custom Code |


Posted By: Hamish
Date 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.


-------------
Editing ProductCart Code?

See http://wiki.earlyimpact.com/developers/editcode" rel="nofollow - WIKI Guidelines for Editing ProductCart's ASP Source Code



Posted By: whizzinpc
Date 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]



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net