pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Pavel Stehule <pavel.stehule@gmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Stephen Frost <sfrost@snowman.net>
Cc: Tomas Vondra <tomas.vondra@2ndquadrant.com>
Cc: PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Subject: Re: Providing catalog view to pg_hba.conf file - Patch submission
Date: Sat, 28 Feb 2015 06:27:50 +0100
Message-ID: <CAFj8pRAC4m45eCupqBLG9T4o393DviFb8fcE45BPVDDmdp=LOg@mail.gmail.com> (raw)
In-Reply-To: <29710.1425087618@sss.pgh.pa.us>
References: <54C8156E.1080500@BlueTreble.com>
	<CAJrrPGcFk9_svvipFJeLBrVJYOmq6uNy38NsT8jtfo6Bks5RYw@mail.gmail.com>
	<54C95C4B.2080901@BlueTreble.com>
	<54F09D68.2090700@2ndquadrant.com>
	<20150227165950.GP29780@tamriel.snowman.net>
	<CAFj8pRBo6n4gEQV8J72R0_iXiCa-kZ+j1Ecwk+LrjZRJFN4PhQ@mail.gmail.com>
	<20150227183236.GQ29780@tamriel.snowman.net>
	<CAFj8pRD0GmDAf-4M8U=JyuDRUn5n1W3HCbL2oaKDbasLKwU4zw@mail.gmail.com>
	<20150227195529.GS29780@tamriel.snowman.net>
	<12545.1425072391@sss.pgh.pa.us>
	<20150228003749.GU29780@tamriel.snowman.net>
	<29710.1425087618@sss.pgh.pa.us>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>

2015-02-28 2:40 GMT+01:00 Tom Lane <tgl@sss.pgh.pa.us>:

> Stephen Frost <sfrost@snowman.net> writes:
> > I understand that there may be objections to that on the basis that it's
> > work that's (other than for this case) basically useless,
>
> Got it in one.
>
> I'm also not terribly happy about leaving security-relevant data sitting
> around in backend memory 100% of the time.  We have had bugs that exposed
> backend memory contents for reading without also granting the ability to
> execute arbitrary code, so I think doing this does represent a
> quantifiable decrease in the security of pg_hba.conf.
>

The Stephen's proposal changes nothing in security. These data are in
memory now. The only one difference is, so these data will be fresh.

Regards

Pavel


>
>                         regards, tom lane
>

view thread (92+ messages)  latest in thread

Message-ID: <CAFj8pRAC4m45eCupqBLG9T4o393DviFb8fcE45BPVDDmdp=LOg@mail.gmail.com>
Permalink:  ../CAFj8pRAC4m45eCupqBLG9T4o393DviFb8fcE45BPVDDmdp=LOg@mail.gmail.com/
Also on:    postgresql.org/message-id/CAFj8pRAC4m45eCupqBLG9T4o393DviFb8fcE45BPVDDmdp=LOg@mail.gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-hackers@postgresql.org
  Cc: pavel.stehule@gmail.com, tgl@sss.pgh.pa.us, sfrost@snowman.net, tomas.vondra@2ndquadrant.com
  Subject: Re: Providing catalog view to pg_hba.conf file - Patch submission
  In-Reply-To: <CAFj8pRAC4m45eCupqBLG9T4o393DviFb8fcE45BPVDDmdp=LOg@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox