WordPress.org

Ready to get started?Download WordPress

Forums

Troll banning (7 posts)

  1. trench
    Member
    Posted 10 years ago #

    Is there anyway to ban a specific abusive user from leaving comments i.e. IP banning?

  2. Mark (podz)
    Support Maven
    Posted 10 years ago #

    If they are that abusive, do you not want instead to ban them from your site ?

  3. davidchait
    Member
    Posted 10 years ago #

    yes, this has certainly been discussed before. blacklists are used in many 'hacks'... I use it in referrals, but then I also use the referral blacklist to check against the IP and url (and the comment) to find illegal IPs or URLs being used anywhere. However, I simply have the comment system then mark it as unapproved, so I can see the spammers. You could just as easily not do the INSERT into the table if anything 'matches' the blacklist.
    search for blacklist, you should find a number of people (including me) discussing the topic(s) further.
    -d
    http://www.chait.net

  4. NuclearMoose
    Member
    Posted 10 years ago #

    Can you not block an IP address using .HTACCESS??

  5. trench
    Member
    Posted 10 years ago #

    How would I block an IP with .htaccess?

  6. Anonymous
    Unregistered
    Posted 10 years ago #

    Here's an example with .htaccess to block two IPs:
    <Directory>
    order allow,deny
    allow from all
    deny from 111.222.33.44
    deny from 222.33.44.111
    </Directory>

  7. trench
    Member
    Posted 10 years ago #

    Thanks. :)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.