Control Web Panel

WebPanel => MySQL => Topic started by: problemao on November 29, 2017, 03:37:27 PM

Title: Hide/block remote connection phpmyadmin
Post by: problemao on November 29, 2017, 03:37:27 PM
Hey, whats the better way to secure phpmyadmin access from external?
Like now, we can access to our phpmyadmin using domain/phpmyadmin

Whats the better thing to do?
Title: Re: Hide/block remote connection phpmyadmin
Post by: 24x7servermanagement on November 29, 2017, 08:29:40 PM
Check this tutorial:- https://www.digitalocean.com/community/tutorials/how-to-install-and-secure-phpmyadmin-with-apache-on-a-centos-7-server
Title: Re: Hide/block remote connection phpmyadmin
Post by: problemao on November 29, 2017, 09:34:54 PM
Check this tutorial:- https://www.digitalocean.com/community/tutorials/how-to-install-and-secure-phpmyadmin-with-apache-on-a-centos-7-server

Yeah i think we can do the same as Step Two — Secure your phpMyAdmin Instance with CWP at Apache redirect's /index.php?module=system_redirects

But some1 told me if we change that redirects it will mess with some features. any1 can confirm?
If we go to /index.php?module=system_redirects
and change
Redirect permanent /phpmyadmin
and
Redirect permanent /phpMyAdmin

to something else it will work fine or we'll get some problems?
Title: Re: Hide/block remote connection phpmyadmin
Post by: locvfx on January 11, 2018, 10:40:26 AM
Why should you worry about it? The phpmyadmin itself has a login form !
Anyway, maybe you add another secured layer, example only authorize for a certain IP or certain country to access phpmyadmin URL, otherwise, die(); :)
Tips: search google for htaccess and geo IP, or 'how to check IP using PHP'