Jump to content

Wordpress Attack


jberg

Recommended Posts

Hello,

I was wondering if anyone has some advice to help stop Brute Force Attack on a Wordpress site on a TCH shared hosting account? I have installed a couple plugins to help stop the problem but even using the Limited Login plugin, I still have some sites that get continual failed logins from different IP's every fraction of a second.

I have seen other hosting companies sometimes will use a protection CAPTCHA by creating a simple .htaccess authentication login for the wp-login.php file. So when trying to login into Wordpress you get the popup that asks for username/password and generally will indicate what the username/password is right in the text of the popup. For example it will say.. Username: adfw3 Password: result of math 33+5. These are mainly to slow down the bots that try to login in every fraction of a second from different IPs.

 

Would anyone know how to implement this on a TCH shared hosting account? I tried to make it work by adding it to the .htaccess file and referencing a passwd file in the .htpasswds but that didn't work.

 

created a user login in .htpasswds (through Cpanel). Then reference it in the main .htaccess file in public_html/.

<Files wp-login.php>

AuthType basic
AuthName "WordPress attack protection CAPTCHA. Enter username: adfw3 Password: The result of math 33+5"
AuthBasicProvider file
AuthUserFile "/home/accountname/.htpasswds/public_html/wp-admin/passwd"

</Files>

 

But this doesn't make the pop-up appear for login, and just goes right to wp-login.php. Am I doing something wrong or is there a better way?

 

Thanks for any help you can provide.

  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...