Re: [patch] fix dblink security hole - Mailing list pgsql-hackers

From Joe Conway
Subject Re: [patch] fix dblink security hole
Date
Msg-id 48D6B716.7030404@joeconway.com
Whole thread Raw
In response to [patch] fix dblink security hole  ("Marko Kreen" <markokr@gmail.com>)
List pgsql-hackers
Tom Lane wrote:
> "Marko Kreen" <markokr@gmail.com> writes:
>> On 9/21/08, Joe Conway <mail@joeconway.com> wrote:
>>> Why? pg_service does not appear to support wildcards, so what is the attack
>>> vector?
> 
>> "service=foo host=custom"
> 
> The proposal to require a password = foo entry in the conn string seems
> to resolve all of these, without taking away useful capability.  I don't
> think that forbidding use of services altogether is a good thing.
> 
> So that seems to tilt the decision towards exposing the conninfo_parse
> function.  Joe, do you want to have a go at it, or shall I?

Agreed. I'll take a stab at it.

Joe


pgsql-hackers by date:

Previous
From: "Hans-Jürgen Schönig"
Date:
Subject: Re: Toasted table not deleted when no out of line columns left
Next
From: Joe Conway
Date:
Subject: Re: [patch] fix dblink security hole