0

Is it possible to make phpmyadmin authorize including user's IP?

Actually, on my server, it is possible to login to phpmyadmin with any user/password that is allowed to "localhost" in privileges.

I want to only allow users with special IP to login to phpmyadmin. I am using debian. Is it possible?

Microz
  • 97
  • 1
  • 8
  • 1
    Not sure about PhpMyAdmin. But that can be done with a rule in htaccess: https://stackoverflow.com/questions/4400154/deny-all-allow-only-one-ip-through-htaccess – Paul Spiegel Feb 08 '18 at 14:05
  • I want to not allow to login to phpmyadmin users that are not having same ip as in phpmyadmin's privileges. – Microz Feb 08 '18 at 14:18
  • Actually phpmyadmin is letting to login any user that is having "localhost" in host data. I want to make phpmyadmin listen to IP of someone who is trying to log in and if ip of this user is not in privileges, deny him from login. – Microz Feb 08 '18 at 14:20

0 Answers0