Re: PostgreSQL security concerns - Mailing list pgsql-general

From Tom Lane
Subject Re: PostgreSQL security concerns
Date
Msg-id 29488.991664392@sss.pgh.pa.us
Whole thread Raw
In response to Re: PostgreSQL security concerns  (Francesco Casadei <f_casadei@libero.it>)
List pgsql-general
Francesco Casadei <f_casadei@libero.it> writes:
> # TYPE       DATABASE    IP_ADDRESS    MASK               AUTHTYPE  MAP
> local        template0                                    trust
> local        template1                                    trust
> local        funland                                      password  funland.pwd

If you're going to make template1 accessible via "trust" then you should
expect rather severe lack of security.  Better put passwords on it too.

In a security-conscious setup, I don't see any good reason for anyone
but the DBA to be allowed to connect to template1.

BTW, there's no need to allow anyone to connect to template0 at all.

            regards, tom lane

pgsql-general by date:

Previous
From: will trillich
Date:
Subject: Re: Current value of a sequence?
Next
From: "Henry T. So Jr."
Date:
Subject: upgrading a database with large objects