How to prevent user use du command in PostgreSQL?

Posted on

Question :

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

Answer :

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!

Leave a Reply

Your email address will not be published. Required fields are marked *