Protecting panel BrainyCP from unauthorized access

From BrainyCP
Revision as of 23:48, 8 April 2021 by Fgsfds (talk | contribs)

Jump to: navigation, search
Setting up protection of the control panel from unauthorized access is the first thing to do after installing BrainyCP (read the instructions for installing the panel via SSH). Today, developers offer two ways to improve the security of the control panel - they can be used both individually and together:
1. Setting an additional password.
2. IP blocking.
 
In order to proceed with the configuration, log in to BrainyCP using the login and password received from the hosting provider:

2020-12-24 15-25-10.png

Setting up an additional password

To set an additional password, go to the control panel section "Control" / "Server settings" / "Server" tab, find the "Security" / "htpasswd authorization" block:
 
1.Fill in the "Login" field.
2. Fill in the "Password" field (if necessary, click on the key icon to generate a complex password).
3. Click on the "Install" button:

2020-12-24 15-14-47.png

If everything is done correctly, immediately after setting up an additional password (htpasswd), you will see an authentication pop-up window, in which you must specify your username and password.
1. Enter the login information you just set up.
2. Click on the OK button:

2020-12-24 15-24-25.png

In order to disable the additional password in BrainyCP, go to the control panel section "Control" / "Server settings" / "Server" tab, find the "Security" / "htpasswd authorization" block and click on the "Disable" button:

2020-12-24 15-18-23.png

IP Blocking

IP blocking allows you to restrict access to the control panel for specific addresses.

1. Go to the control panel section "Control" / "Server settings" / "Server" tab, find the "Security" / "Denied IPs / Allowed IPs" block:
2. Add to the "Denied IP" field the addresses for which you would like to restrict access to the panel. Each IP is listed on a new line.
3. In the "Allowed IP" field, add the addresses from which access to the panel is allowed. Each IP is listed on a new line.
Click on the "Apply" button.
 
In order to exclude an IP from the list of prohibited or allowed addresses, delete it, and then click on the "Apply" button.

2020-12-24 15-20-27.png