Yeah, but the idea is to do that without the pg_hba.conf
----- Ursprüngliche Mail -----
Von: "David G. Johnston" <david.g.johnston@gmail.com>
An: "Denis Kirjanov" <kda@itsirius.su>
CC: pgsql-hackers@postgresql.org
Gesendet: Donnerstag, 14. Mai 2015 18:22:45
Betreff: Re: [HACKERS] trust authentication behavior
On Thu, May 14, 2015 at 2:16 AM, Denis Kirjanov <kda@itsirius.su> wrote:
> Hello guys,
>
> Is it possible to restrict the trust auth method to accept local
> connections only using the selinux policy?
>
You want selinux to prevent trust connections from non-local clients even
if pg_hba.conf explicitly allows them?
David J