Brute Force Attack protection from user level

  • Last Created On Jan 07, 2024
  • 148
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: 148

Recent Articles

  • How to Register Child Name Server/Host N...
    162
  • How Do I Log into the Web Host Manager?...
    369
  • Where can I download a free FTP?
    286
  • How to Use Web FTP / browser-based FTP?
    360
  • How to Set Up Anonymous FTP Access, Requ...
    156

Popular Articles

  • What is domain and hosting?
    428
  • How Do I Log into the Web Host Manager?...
    369
  • How to Use Web FTP / browser-based FTP?
    360
  • Where can I download a free FTP?
    286
  • How to Solve “Read-Only File System” Err...
    281