Brute Force Attack protection from user level

  • Last Created On Jan 07, 2024
  • 162
0 0

Here is the block that could be put in .htaccess for wordpress:

Open your .htaccess file from public_html folder and add the following code with your allowed ip.

<Files wp-login.php>
# set up rule order
order deny,allow
# default deny
deny from all 
# Allowed IP  Ranges
allow from 10.10.4.0/23
allow from 10.30.104./24
# Add additional IPs for access here
errordocument 401 default
errordocument 403 default
errordocument 404 default
</Files>


##Replace the ip addres with your ip address.##
To protect others cms replace wp-login.php with their admin panel access file name.

Views: 162

Recent Articles

  • How to Register Child Name Server/Host N...
    180
  • How Do I Log into the Web Host Manager?...
    385
  • Where can I download a free FTP?
    308
  • How to Use Web FTP / browser-based FTP?
    376
  • How to Set Up Anonymous FTP Access, Requ...
    171

Popular Articles

  • What is domain and hosting?
    460
  • How Do I Log into the Web Host Manager?...
    385
  • How to Use Web FTP / browser-based FTP?
    376
  • Where can I download a free FTP?
    308
  • How to Solve “Read-Only File System” Err...
    304