Greenguy's Board

Greenguy's Board (http://www.greenguysboard.com/board/index.php)
-   Newbie Questions (http://www.greenguysboard.com/board/forumdisplay.php?f=5)
-   -   How to stop hotlinkers? (http://www.greenguysboard.com/board/showthread.php?t=26644)

The Cucumber 2005-12-02 08:57 PM

How to stop hotlinkers?
 
Is there a way to secure a gallery from hotlinkers?
I noticed some of my pics on galleries I got have been hotlinked, is there a proggy to prevent this?

Roni20 2005-12-02 09:08 PM

htaccess

RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !domain.com [NC]
RewriteRule \.(gif|jpg|png|etc)$ - [F]


it's the easiest way i think.

Halfdeck 2005-12-02 09:09 PM

Roni's code looks fine. For more options, try these posts:

http://www.greenguysboard.com/board/...earchid=249105

weirdharold 2005-12-02 11:13 PM

Halfdeck, you might be better simply giving the keywords to search... because that link leads to a message saying
Quote:

Sorry - no matches. Please try some different terms.

Halfdeck 2005-12-02 11:31 PM

Strange. Well, you can try running a search for something along the lines of "hotlink rewritecond."

Lemmy 2005-12-03 06:14 AM

Or you can try hitting the FAQ button. :)

pvtspanky 2005-12-03 05:46 PM

Make sure you block sites that have the word "fusker" in the domain |thumb

The Cucumber 2005-12-05 06:28 PM

Thanks guys, I'm gonna test that code right away |thumb


All times are GMT -4. The time now is 05:52 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc