Limit access to database phpMyAdmin page

If you want to limit access to the database phpMyAdmin you can use a Apache access rule.

1. Select "Config" from the database node.

2. Edit the file /conf.d/phpMyAdmin-jel.conf

3a. If you do not have a public IP (which is the default) on the database node set the following configuration with the IP address you want to allow access.

<Directory /usr/share/phpMyAdmin/>
Order Allow,Deny
SetEnvIF X-Forwarded-For "1.2.3.4" AllowIP
Allow from env=AllowIP
</Directory>

 

3b. If you have a public IP on the database node set the following configuration with the IP address you want to allow access.

<Directory /usr/share/phpMyAdmin/>
Order Allow,Deny
Allow from 1.2.3.4
</Directory>


4. Restart the environment or contact support and we can reload the Apache configuration for you.

 

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

0 comments

Article is closed for comments.