Re: Postgres Security Checklist - Mailing list pgsql-general

From Tom Lane
Subject Re: Postgres Security Checklist
Date
Msg-id 27274.1239026424@sss.pgh.pa.us
Whole thread Raw
In response to Re: Postgres Security Checklist  ("Albe Laurenz" <laurenz.albe@wien.gv.at>)
Responses Re: Postgres Security Checklist
List pgsql-general
"Albe Laurenz" <laurenz.albe@wien.gv.at> writes:
> Here is my personal security checklist for PostgreSQL:

> - Check that there is no SQL function with SECURITY DEFINER.

Uh, that seems a pretty strange restriction.  Generally, if you are
actually concerned about security at the SQL-command level, you're
going to have to have some SECURITY DEFINER functions.  You can't
build a Unix system without suid programs, either.

> - Check that pg_hba.conf forbids remote connections to use "password", "crypt" or "ident" authentication.

Most people think that remote "ident" is not very secure.

            regards, tom lane

pgsql-general by date:

Previous
From: danpop
Date:
Subject: PostgreSQL data modeling tool
Next
From: Tom Lane
Date:
Subject: Re: Number Conversion Function