Welcome to the JaguarPC Community
JaguarPC
Sales: (888) 338-5261
Support: (888)-551-3050
Results 1 to 4 of 4

This is a discussion on Block Proxy Users? in the Shared & Semi-Dedicated forum
Has anyone had experience blocking proxy users? I would like to block open/public/private proxies from accessing my site. Our target audience is mostly teenagers and ...

  1. #1
    JPC Member
    Join Date
    May 2005
    Posts
    39

    Question Block Proxy Users?

    Has anyone had experience blocking proxy users?

    I would like to block open/public/private proxies from accessing my site. Our target audience is mostly teenagers and lately some of them have found it fun to try and reak havoc on us through proxies.

    I figure I could d/l one of many proxy lists and add them one at a time to the ban list in cPanel but that would be tedious.

    Can anyone tell me if having a huge ip ban list in cPanel would slow down my site? (would this caus a higher load time?)

    Suggestions?
    Last edited by Buya; 12-29-2005 at 10:42 AM.

  2. #2
    the Windlord Gwaihir's Avatar
    Join Date
    Jun 2002
    Posts
    2,562
    Quote Originally Posted by Buya
    and add them one at a time to the ban list in cPanel but that would be tedious.
    Hmm.. and what does cPanel do with them, I wonder? Add them to you main .htaccess? If so, save yourself the tedious part and just add the whole list at once yourself.
    Regards,

    Wim Heemskerk
    ---
    Visit MeCCG.net - Cardgaming in J.R.R. Tolkien's Middle-earth
    And Gwaihir.net - The Middle-earth CCG store

  3. #3
    the Windlord Gwaihir's Avatar
    Join Date
    Jun 2002
    Posts
    2,562
    Just tested the above assumption and indeed they are written in your .htaccess file. I blocked two (pretty irrelevant) IPs to test and found this at the bottom of my .htaccess after that:
    Code:
    deny from 192.168.0.1
    deny from 192.168.0.2
    So, if you wish to block a long list, you'll manage a lot quicker by putting those lines down there yourself than by using the cPanel for it.
    Regards,

    Wim Heemskerk
    ---
    Visit MeCCG.net - Cardgaming in J.R.R. Tolkien's Middle-earth
    And Gwaihir.net - The Middle-earth CCG store

  4. #4
    Jag Veteran
    Join Date
    Sep 2002
    Posts
    650
    Some not-so-anonymous proxies add HTTP request headers (for ex, via) making it possible to know 1) that the request is coming from a proxy server and 2) real IP address of a user.
    I think you should be able to examine those headers via .htaccess file.
    That's not a bullet proof solution, though.

    Another idea to consider is having most sensitive parts of your site available for registered users only. You can require to provide geographical location (state, city, zip code) upon registration and then match it vs. geographical location of IP address before approving new users. Registered users are generally less likely to reak havoc

    Having a huge ip ban list will definitely cause performance penalty.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •