Restricting Access by IP Address
For increased protection, if your staff uses fixed IP addresses, you can restrict access to a specific set of IP addresses. This will help to prevent access by hackers and other malicious users.
We recommend performing this task and other security measures immediately after installing WHMCS. For a full list, see More Ways to Secure Your WHMCS Installation.
To restrict access, create a
.htaccess file in your WHMCS admin directory.
Add the correct content for your version of Apache to the new
order deny,allow allow from 22.214.171.124 allow from 126.96.36.199 deny from all
Require ip 188.8.131.52 Require ip 184.108.40.206
You can specify as many different
allow from or
Require ip lines as you require. You can allow entire IP subnets by specifying just the first part of an IP address (for example,
12.34.). This is
.htaccess IP restriction.