Author Topic: Hide/block remote connection phpmyadmin  (Read 9608 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Hide/block remote connection phpmyadmin
« 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?

Offline
**
https://www.24x7servermanagement.com/
Server Management, Server Security, Server Monitoring.
India's Leading Managed Service Provider !!

Offline
*
Re: Hide/block remote connection phpmyadmin
« Reply #2 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?

Offline
***
Re: Hide/block remote connection phpmyadmin
« Reply #3 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'