iEntry 10th Anniversary Forum Rules Search
WebProWorld
Register FAQ Calendar Mark Forums Read
Webmaster Resources Discussion Forum Sitemaps and robots and logfiles -- Oh My! If you have any questions, comments, concerns and/or ideas about the tools currently available to webmasters to make their lives... 'easier'. Here's where you need to be. Know of a good tool? Post it here. Got something funny in your logfiles? Maybe we can help.

Share Thread: & Tags

Share Thread:

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 09-18-2007, 09:46 PM
WebProWorld Member
 
Join Date: Aug 2003
Location: Canada
Posts: 50
funbiz RepRank 0
Angry How to stop someone hot linking my graphic

This might not be the right place.

I am sure this been ask before,
how to stop someone hot linking my graphics?

Thanks for any help.
Reply With Quote
  #2 (permalink)  
Old 09-19-2007, 12:27 AM
WebProWorld Pro
 
Join Date: Aug 2006
Location: Cary, Illinois
Posts: 265
getmea RepRank 1
Default Re: How to stop someone hot linking my graphic

Your web host should have a setting to prevent this activity. My web host's vDeck system has an option under Settings to disable HotLinking.

Getmea
Reply With Quote
  #3 (permalink)  
Old 09-19-2007, 12:12 PM
WebProWorld Member
 
Join Date: Mar 2006
Posts: 58
linkstraffic RepRank 0
Default Re: How to stop someone hot linking my graphic

you can require the image loading from your pages only using the htaccess file.
I don't remember the line but you can check the documentation of htaccess from Apache
Reply With Quote
  #4 (permalink)  
Old 09-19-2007, 04:44 PM
WebProWorld Pro
 
Join Date: May 2007
Location: DataCenter
Posts: 169
hostBrain RepRank 1
Default Re: How to stop someone hot linking my graphic

Here ya go, put this in htaccess
Quote:
RewriteEngine On
RewriteCond %{HTTP_REFERER} !^http://(.+\.)?domain\.com/ [NC]
RewriteCond %{HTTP_REFERER} !^$
RewriteRule .*\.(jpe?g|gif|bmp|png)$ /images/nohotlink.jpg [L]
create a very small file called nohotlink.jpg, which will replace the pic they are hotlinking to.
In the image, you could say "Stolen from www.yourdomain.com"
__________________
----Don't Call Me Brian----
Reply With Quote
  #5 (permalink)  
Old 03-20-2008, 07:54 PM
WebProWorld Member
 
Join Date: Jun 2004
Location: Uruguay
Posts: 82
Portucuenta RepRank 0
Default Re: How to stop someone hot linking my graphic

Is there a way to only disallow images from a folder for being hotlinked??

Thanks in advance
__________________
Tonterias
Win trillionz - Trillonario
Reply With Quote
  #6 (permalink)  
Old 03-21-2008, 10:14 AM
wige's Avatar
Moderator
WebProWorld Moderator
 
Join Date: Jun 2006
Location: United States
Posts: 2,648
wige RepRank 9wige RepRank 9wige RepRank 9wige RepRank 9wige RepRank 9wige RepRank 9wige RepRank 9wige RepRank 9wige RepRank 9wige RepRank 9wige RepRank 9
Default Re: How to stop someone hot linking my graphic

Yes. Simply create a new .htaccess file in the folder you want to protect, with the above suggested directives. That will only cause that specific folder and it's subfolders to be blocked.
__________________
The best way to learn anything, is to question everything.
Reply With Quote
  #7 (permalink)  
Old 06-14-2008, 07:45 PM
WebProWorld Member
 
Join Date: Jul 2003
Location: Ohio
Posts: 40
obietemp RepRank 0
Wink Re: How to stop someone hot linking my graphic

This happened to me once and I changed the picture they were using to my business logo, keeping the name the same. Then my logo picture was on their site.

Of course I then I changed the name to the picture they had been using and relinked to my page.

Thought it would be funny and I got a kick out of it.
__________________
ObieTemp
Reply With Quote
  #8 (permalink)  
Old 06-15-2008, 11:59 AM
WebProWorld Pro
 
Join Date: Dec 2007
Location: Brussels, Belgium
Posts: 164
Jean-Luc RepRank 2
Default Re: How to stop someone hot linking my graphic

hostBrain' solution is fine, but you might want to add other authorized referrers, like the pages in Google cache.

Jean-Luc
__________________
Checking redirects made easy | | Professional AWStats Services
Reply With Quote
  #9 (permalink)  
Old 06-20-2008, 05:14 PM
WebProWorld Pro
 
Join Date: Nov 2004
Location: Davis, North Carolina
Posts: 198
LLFitness_Derek RepRank 0
Default Re: How to stop someone hot linking my graphic

IMO image control is best done through calling a script for the image and not linking directly to the image.

Normal image (no scripts):
Code:
<img src='image.jpg'>
New image (scripts):
Code:
<img src='myimagescript.php?image=image.jpg'>
On your new scripting page myimagescript.php you can write all the validation code you desire before displaying the images. You can check a users is log-in status, check the referral url, etc...
Reply With Quote
  #10 (permalink)  
Old 06-24-2008, 12:02 AM
cw1865's Avatar
Moderator
WebProWorld Moderator
 
Join Date: Oct 2007
Location: Reside in Riverdale, NJ
Posts: 680
cw1865 RepRank 9cw1865 RepRank 9cw1865 RepRank 9cw1865 RepRank 9cw1865 RepRank 9cw1865 RepRank 9cw1865 RepRank 9cw1865 RepRank 9cw1865 RepRank 9cw1865 RepRank 9
Default Re: How to stop someone hot linking my graphic

Quote:
Originally Posted by obietemp View Post
This happened to me once and I changed the picture they were using to my business logo, keeping the name the same. Then my logo picture was on their site.

Of course I then I changed the name to the picture they had been using and relinked to my page.

Thought it would be funny and I got a kick out of it.
Thought it would be funny...it is funny. That'll teach 'em!
__________________
Reply With Quote
Reply

  WebProWorld > Webmaster, IT and Security Discussion > Webmaster Resources Discussion Forum

Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Stop The Proxy jonsavvy Internet Security Discussion Forum 6 04-13-2006 01:20 AM
How do I stop unwanted sites from linking to me? ritaperdue Link Exchange 5 05-29-2005 11:43 AM
Stop the PR madness!!!! TippMan Google Discussion Forum 0 01-05-2005 07:23 PM
make it stop.... volkoman The Castle Breakroom (General: Any Topic) 0 04-22-2004 11:20 PM
programme to stop hot linking admin100 The Castle Breakroom (General: Any Topic) 6 02-18-2004 06:20 PM


All times are GMT -4. The time now is 03:54 PM.



Search Engine Optimization by vBSEO 3.3.0