securing phpMyAdmin - localhost and ssh OR 2 factor authentication with internet accessible url?

How to use phpmyadmin.... phpmyadmin related arguments. Even phpMyAdmin issues

Moderators: egami, macek, gesf

Post Reply
whitedragon101
New php-forum User
New php-forum User
Posts: 5
Joined: Mon Apr 09, 2018 2:51 pm

Sun Aug 08, 2021 5:28 am

What would you recommend for securing access to phpMyAdmin? I am the developer and need remote access to phpMyAdmin which is on a server in another country (a linux machine with a LAMP stack at the owners office). At the moment for development it's just an internet accessible url and a username and password.

a) restrict access to phpMyAdmin to localhost and ssh into the server to get access
b) Allow access via an internet url and use 2 factor authentication (probably Google Authenticator)
c) keep it as username and password with public url and use a crazy long password to protect against brute force
AdoptiveSolution
php-forum GURU
php-forum GURU
Posts: 214
Joined: Wed Jun 15, 2016 8:35 am

Sun Aug 08, 2021 7:23 am

Use c and don’t tell anybody what the url is.

If it’s possible, rename PHPMyAdmin to something obscure.

And keep that a secret too.
Post Reply