Re: Cross-backend signals and administration (Was: Re: pg_terminate_backend for same-role) - Mailing list pgsql-hackers

From Daniel Farina
Subject Re: Cross-backend signals and administration (Was: Re: pg_terminate_backend for same-role)
Date
Msg-id CAAZKuFbG4wkzwWmh3Ze1QDcc25q-9TheE22117Otc-NV+70hiA@mail.gmail.com
Whole thread Raw
In response to Re: Cross-backend signals and administration (Was: Re: pg_terminate_backend for same-role)  (Andrew Dunstan <andrew@dunslane.net>)
List pgsql-hackers
On Tue, Mar 27, 2012 at 1:30 PM, Andrew Dunstan <andrew@dunslane.net> wrote:
>> Well, that does sort of leave an arguable vulnerability.  Should the
>> same user only be allowed to kill the process from a connection to
>> the same database?
>>
>
> It might be a reasonable restriction in theory, but I doubt it's much of a
> security gain.

If this restriction makes anyone feel better, it doesn't bother/change
anything for me in the slightest (for both  terminate and cancel), and
that way no interesting pg_hba.conf trickery will be broken, as far as
I can see.

--
fdr


pgsql-hackers by date:

Previous
From: Alex
Date:
Subject: Re: Another review of URI for libpq, v7 submission
Next
From: Robert Haas
Date:
Subject: Re: Patch: add timing of buffer I/O requests