Disallow connections to remote servers

  • I'd like to restrict adminer to local connections, to prevent my users from abusing it to connect to remote servers (and perfom potentially malicious actions). Unfortunately I have not been able to find a solution in neither the API documentation nor several google queries.

    Does anyone have any suggestions?

    Thanks a lot in advance!

  • Jakub Vrána
    Jakub Vrána

    You can use plugin login-servers or you can create an extension overwriting credentials and loginForm methods.