Usually, remote access to Plesk databases is allowed by default from any computer. For security reasons, you can allow access only from a specific IP address (for example, for applications running on a remote computer and working with a database hosted on the Plesk server).
You can also prohibit remote access altogether (for example, if the application that works with a Plesk database is running on the Plesk server).
The access control settings are specified individually for Plesk database users. To make your settings work, the application must use the credentials of the appropriate database user for accessing the database.
Note: The options described below are displayed only if your subscription is granted the permission Remote access for database users. In addition, if you use PostgreSQL or SQL Server, the Plesk firewall must be switched on by your hosting provider.
For MySQL database users, the remote access is controlled by MySQL native security mechanism - access control lists (ACL). Your custom settings are added to the MySQL access control lists.
To specify the access settings for a MySQL user:
Alternatively, you can set up access control when creating a database if you create a user at the same time as creating the database: Databases > Add a Database > Create a database user.
If the Plesk firewall prohibits remote incoming connections to MySQL, then custom access control settings will not work.
For a PostgreSQL database user, the remote access is controlled by firewall rules. Your custom rules are added to the system firewall rules after your hosting provider has reviewed them to make sure the custom rules do not conflict with the existing rules.
To specify the access settings for a PostgreSQL user:
Alternatively, you can set up access control when creating a database if you create a user at the same time as creating the database: Databases > Add a Database > Create a database user.
For a SQL Server database user, the remote access is controlled by firewall rules. Your custom rules are added to the system firewall rules after your hosting provider has reviewed them to make sure the custom rules do not conflict with the existing rules.
To specify the access settings for a SQL Server user:
Alternatively, you can set up access control when creating a database if you create a user at the same time as creating the database: Databases > Add Database > Create a database user.