Help... I've been framed

Discussion in 'Site & Server Administration' started by scoopy82, Feb 26, 2008.

  1. #1
    I need to find a way to put a stop to a website that is using an <iframe> to embed my website into theirs.

    I would like to ban them from any access at all... as they are somehow killing my server. I tried adding a deny line in .htaccess to their domain and/or IP... but my site still shows.

    thanks,
     
    scoopy82, Feb 26, 2008 IP
  2. agnivo007

    agnivo007 Peon

    Messages:
    4,290
    Likes Received:
    289
    Best Answers:
    0
    Trophy Points:
    0
    #2
    It's not their IP calls your page, but the browsing people. So banning won't work.

    Use frame buster script on your pages :
     
    agnivo007, Feb 27, 2008 IP
  3. scoopy82

    scoopy82 Active Member

    Messages:
    838
    Likes Received:
    45
    Best Answers:
    0
    Trophy Points:
    70
    #3
    Thanks... but I don't know why... but that don't work either.

    There's got to be a way to block the referral at the server level... but I can't seem to find it.

    Here's the site in question... if it helps:
    quetriunfo.com/usuario.php?id=1438
    (I currently have /public_html chmod at 0700 to stop them from killing our server)
     
    scoopy82, Feb 27, 2008 IP
  4. scoopy82

    scoopy82 Active Member

    Messages:
    838
    Likes Received:
    45
    Best Answers:
    0
    Trophy Points:
    70
    #4
    I found something posted on another site that seems to do the job. In .htaccess:
    rewriteEngine On
    rewriteCond %{HTTP_REFERER} ^http://www\.quetriunfo\.com [NC]
    RewriteRule !^quetriunfo\.txt - [F]
    PHP:
    This allows my site to run and produces a Forbidden error for the other site.

    I don't understand tho... why the RewriteRule line is referring to a file within the account that is now blocked by the rewriteCond line... and I played around a bit trying to redirect to another URL and have tried other options such as [L][R]... but the only way it seems to work is the way I posted above.
     
    scoopy82, Feb 28, 2008 IP
  5. stma

    stma Peon

    Messages:
    37
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Take a look at your stats - then if they are getting enough traffic to warrant it tweak that .htaccess code to redirect to an affiliate program. Or create a page just for them where you can monetize it, or call em out.

    Otherwise just ignore it - if you spend all your time fighting people that do this stuff you will get old and die before your time....
     
    stma, Feb 29, 2008 IP
  6. maestria

    maestria Well-Known Member

    Messages:
    705
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    110
    #6
    In case you are using plesk control panel, there is an option to protect the hotlinking and achieve hot protection in the user control panel itself.
     
    maestria, Feb 29, 2008 IP