You can allow or prevent some IP addresses or even whole countries from accessing your website by several options:
How to manage accesses with an IP Manager?
Go to Hosting → Manage → IP Manager:
There you will be able to find 2 options: add IPs to allow and block access to your website:
Just add an IP you wish to create rules for, leave a note (optional) and click on Add. The list of all the rules will be available below:
With IP Manager you can set rules for specific IP addresses. If you want to set rules for a range of IP addresses, you can do it with .htaccess.
Creating rules adds specific lines to your .htaccess file, make sure to not delete them: