Thread: Philosophical question

Philosophical question

From
Mihai Tanasescu
Date:
Hello,

I have a very strange question to ask of you...I've just recently
installed postgre sql and have started looking through the pg_hba.conf
file trying to setup access to the databases I have while I stumbled
into a very philosophical type of question.
I can specify which databases a user is allowed to connect to, but I
don't get the true meaning of this as if I allow the user to connect to
all databases without having any grant on any tables of those databases
then I achieve a secure enough environment without specifying access
only to a particular database.

What would be a practical example of the usage of the databases
parameter there ?