Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Selective hotlink protection

Discussion in 'General Discussion' started by MMarko, Jun 2, 2008.

  1. MMarko

    MMarko Well-Known Member

    Joined:
    Apr 18, 2005
    Messages:
    316
    Likes Received:
    0
    Trophy Points:
    166
    Does anybody know which rules should be used to allow hotlinking of files with *_thumb* in their file name and block hotlink of all other files?


    thanks
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. MMarko

    MMarko Well-Known Member

    Joined:
    Apr 18, 2005
    Messages:
    316
    Likes Received:
    0
    Trophy Points:
    166
    I have made htaccess that does this.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. MMarko

    MMarko Well-Known Member

    Joined:
    Apr 18, 2005
    Messages:
    316
    Likes Received:
    0
    Trophy Points:
    166
    Problem is partialy solved. When somebody clicks on thumbnail which can be hotlinked to get full size image, it still gets antihotlink image, because referer is set.

    Anybody have solution for this?


    thanks
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice