Hotlink Protection

Home Forums BulletProof Security Pro Hotlink Protection

This topic contains 2 replies, has 2 voices, and was last updated by  Dean McNamara 4 years, 7 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #10989

    Dean McNamara
    Participant

    Hi,

    If I add hotlink protection code such as Will that play nice with BPS ? Or do you have better ideas to stop sites like pic2fly ripping my images to spam people?

    RewriteEngine on
    RewriteCond %{HTTP_REFERER} .
    RewriteCond %{HTTP_REFERER} !^http://([^.]+.)?yoursite. [NC]
    RewriteCond %{HTTP_REFERER} !google. [NC]
    RewriteCond %{HTTP_REFERER} !search?q=cache [NC]
    RewriteCond %{HTTP_REFERER} !msn. [NC]
    RewriteCond %{HTTP_REFERER} !yahoo. [NC]
    RewriteCond %{REQUEST_URI} !^/hotlinker.gif$
    RewriteRule .(gif|jpg|png)$ /hotlinker.gif [NC,L]

    Thanks,
    Dean.

    #10990

    AITpro Admin
    Keymaster

    We created some newer HotLink Protection code that is Google, Yahoo & Bing safe in the link below
    http://forum.ait-pro.com/forums/topic/hotlink-protection-do-not-block-google-bing-or-yahoo/

    #10991

    Dean McNamara
    Participant

    Kewl thank you.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.