How to prevent user use \du command in PostgreSQL?



  • Are there any posibilities to prevent users invoke \du command in Postgres ?



  • What are Users doing in your database, running psql directly at all?
    Unless your security model is exceedingly good, this is hugely dangerous.

    Users should not be allowed anywhere near the "raw" database, and especially not anywhere near the Production one!


Log in to reply
 


Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2