Tristan
Verified User
As a security measure remove the public facing PHPMyAdmin install on DirectAdmin hosts at http://hostname.nl/phpMyAdmin/ and move it somewhere inside the admin panel itself behind a DirectAdmin user login.
What would be the next, put Roundcube webmail inside DirectAdmin so that customer of customers is not able to login without DirectAdmin access? Please do not go this route.
Handy and secure don't always go hand in hand unfortunately, there also is a reason others (like Cpanel) do it the way I propose.
[cut]
But... I do want to add some perspective here. For those arguing that some people give their developers access to phpMyAdmin without giving them DirectAdmin access... what is preventing you from installing phpMyAdmin on your account itself and providing access to the necessary database that way? No where does it state that phpMyAdmin has to be installed at the system-level. It can very easily be installed in a directory on an account's DocumentRoot. It does not require root level access to install.
cd /usr/local/directadmin/custombuild
./build update
./build set phpmyadmin_public no
./build phpmyadmin
phpmyadmin_public=yes/no has been added to CB 2.0 rev. 2221. It defaults to "yes". If you'd like phpMyAdmin to be available only for SSO from DirectAdmin, just do:
Code:cd /usr/local/directadmin/custombuild ./build update ./build set phpmyadmin_public no ./build phpmyadmin
I enabled this but now its showing "Access to phpMyAdmin is only allowed from control panel." even if logged in to admin account or user account. (DA Admin Panel >> phpMyAdmin)