Results 1 to 4 of 4

Thread: Protect Your Blogs From Login Brute Force Attacks

  1. #1
    Moderator Bec's Avatar
    Join Date
    Nov 2003
    Location
    Ohio
    Posts
    8,419

    Protect Your Blogs From Login Brute Force Attacks

    I have had a couple of times where my server was brought to its knees because of brute force attacks on my blogs. Last week there was one that targeted the wp-login.php. While natnet put in a security measure for me, some of you may want access to the htaccess code to protect your own blogs.

    You can get the code and setup information here: compliments of BulletProofSecurity. Can't say I recommend the plugin they have, (I've tried to set up the plugin, but it isn't a simple click click and done) .... but that code can save you some grief.


  2. #2
    Pictures, sounds, words & web things dirtyratstudios's Avatar
    Join Date
    Jul 2011
    Location
    North-east UK
    Posts
    207
    I believe this will do it if put in an .htaccess file in the wp-admin directory. It prevents them from loading the log in page.

    AuthUserFile /dev/null
    AuthGroupFile /dev/null
    AuthName "Example Access Control"
    AuthType Basic
    <LIMIT GET>
    order deny,allow
    deny from all

    allow from YOUR.IP.ADDRESS.HERE

    </LIMIT>
    DirtyRatStudios | Contact me at the website


  3. #3
    Moderator Bec's Avatar
    Join Date
    Nov 2003
    Location
    Ohio
    Posts
    8,419
    Thanks for that .htaccess blocking method! And to clarify, it does go in the wp admin directory and not in the root correct?


  4. #4
    Pictures, sounds, words & web things dirtyratstudios's Avatar
    Join Date
    Jul 2011
    Location
    North-east UK
    Posts
    207
    Yes it goes in the wp-admin folder.

    If you have a dynamic IP where the last part of the address changes regularly, you could just put the first part like this:

    allow from 46.64.
    DirtyRatStudios | Contact me at the website


Posting Permissions

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