Difference between revisions of "Security/Ban Control"

From WHMCS Documentation

 
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
==Banning IP Addresses==
+
WHMCS allows you to ban IP addresses and email domains. You can also configure automatic bans for users who exceed the maximum number of failed login attempts.
With WHMCS, it is possible to ban an IP address from accessing your entire WHMCS system.
 
  
===Managing Banned IPs===
+
* You can view and manage the list of banned IP addresses at '''Configuration (<i class="fa fa-wrench" aria-hidden="true"></i>) > System Settings > [[Banned IPs]]''' or, prior to WHMCS 8.0, '''Setup > Banned IPs'''.
 
+
* You can alter the length of automatic IP address bans in the '''[[Security Tab|Security]]''' tab at '''Configuration (<i class="fa fa-wrench" aria-hidden="true"></i>) > System Settings > General Settings''' or, prior to WHMCS 8.0, '''Setup > General Settings'''.
To view all the banned IP addresses in your system, go to '''Setup > Other > Manage Banned IPs'''. You will then see the banned IP addresses, the reason for that ban, and the date and time at which the ban expires.  You can delete IP addresses that have been banned in error from the ban list using the red delete icon to the right of the line.
+
* You can view and manage the list of banned email domains at '''Configuration (<i class="fa fa-wrench" aria-hidden="true"></i>) > System Settings > [[Banned Emails]]''' or, prior to WHMCS 8.0, '''Setup > Banned Emails'''.
 
 
===Adding a New Banned IP===
 
 
 
To add a new banned IP address, click the Add tab near the top of the page.  The add options will appear. You can enter the IP address you want to ban, the reason for banning it, and the date and time at which the ban should expire. Then, click the Add Banned IP button to ban the IP address.  The change will take effect immediately.
 
 
 
The last two blocks accept wildcards to enable you to block IP address ranges (for example, 189.123.789.* or 189.123.*.*).
 
 
 
===Searching Banned IPs===
 
 
 
To search for a banned IP address, click the Filter tab near the top of the page.  You can then filter the list of banned IP addresses, by IP address or reason, to locate specific IPs you wish to un-ban.
 
 
 
==Banning Email Domains==
 
 
 
With WHMCS, you can ban email domains from signing up. This is useful if you want to block customers from signing up using free email accounts.
 
 
 
To enable this feature, go to '''Setup > Other > Manage Banned Emails'''. You will then see a list of all the currently banned email domains and the number of times a customer has attempted to sign up using them.
 
 
 
To add a new banned email domain, click the Add tab at the top of the page and then enter the email domain you wish to ban. For example, "hotmail.com".
 
 
 
==Auto Ban Control==
 
 
 
By default, WHMCS blocks any user IP addresses that attempt to log in to the admin area with a valid username and incorrect password three or more times. The length of this ban, by default, is 15 minutes. This helps to prevent hackers from endlessly trying different password combinations in order to gain access to your admin area.  You can alter the length of this ban by going to '''Setup >> General Settings >> Security tab >> Failed Admin Login Ban Time'''.
 
 
 
To '''disable IP banning''' for failed admin logins, set this value to 0. The system will never attempt to ban IP addresses and the user will be able to continue to attempt to log in endlessly. For this reason, we recommend a minimum value of at least 1.
 

Latest revision as of 19:46, 3 May 2022

WHMCS allows you to ban IP addresses and email domains. You can also configure automatic bans for users who exceed the maximum number of failed login attempts.

  • You can view and manage the list of banned IP addresses at Configuration () > System Settings > Banned IPs or, prior to WHMCS 8.0, Setup > Banned IPs.
  • You can alter the length of automatic IP address bans in the Security tab at Configuration () > System Settings > General Settings or, prior to WHMCS 8.0, Setup > General Settings.
  • You can view and manage the list of banned email domains at Configuration () > System Settings > Banned Emails or, prior to WHMCS 8.0, Setup > Banned Emails.