Answer the question
In order to leave comments, you need to log in
How to prevent a user from connecting to databases?
Hello everyone
Please tell me how to "prohibit" the user from connecting to databases via tcp? (in other words, allow the user to connect only locally)
I know that this is done through pg_hba, but I can’t find mmm how to make an exception,
I hope that I correctly formulated the question
Answer the question
In order to leave comments, you need to log in
Here: https://www.postgresql.org/docs/9.1/static/auth-pg...
Reject everything except local.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question