Forum Moderators: phranque

Message Too Old, No Replies

Preventing hotlinking except for RSS feeds?

         

Bluestreak

4:58 am on Jun 17, 2007 (gmt 0)

10+ Year Member



I'm surprised that there hasn't been more discussion on this, but is there a way to prevent hotlinking of your images while allowing them to be displayed in RSS feeds for online newsreaders (such as Bloglines, Google Reader, etc.)?

jdMorgan

3:09 pm on Jun 18, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



> ...while allowing them to be displayed in RSS feeds for online newsreaders

That is the crux of the matter: How do you tell that the requesting client is a feed-reader? If this can be defined in terms of HTTP_USER_AGENT, then the solution is fairly straightforward.

Jim

Bluestreak

6:07 am on Jun 21, 2007 (gmt 0)

10+ Year Member



I gathered that after some testing. As a workaround I allowed the domains google.com and bloglines.com to access images since they are basically the most popular online readers.

Thanks for the response!