Re: Tablespace patch review

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Andreas Pflug <pgadmin(at)pse-consulting(dot)de>
Cc: Gavin Sherry <swm(at)linuxworld(dot)com(dot)au>, Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: Tablespace patch review
Date: 2004-06-19 00:01:17
Message-ID: 4931.1087603277@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Andreas Pflug <pgadmin(at)pse-consulting(dot)de> writes:
> Tom Lane wrote:
>> As for the authentication-is-expensive issue, what of it? You *should*
>> have to authenticate yourself in order to look inside another person's
>> database. The sort of cross-database inspection being proposed here
>> would be a big security hole in many people's view.
>>
> Accessing pg_class et al using the current sysuseid with acl checking
> should be ok and satisfy security demands, no?

No. If the other user has you locked out from connecting to his
database at all, he's probably not going to feel that he should have to
disable your access to individual objects inside it.

This has some connections to the discussions we periodically have about
preventing Joe User from looking at the system catalogs. If we make any
changes in this area at all, I would expect them to be in the direction
of narrowing access, not widening it to include being able to see
other databases' catalogs.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2004-06-19 00:05:41 Re: Tablespace patch review
Previous Message Andreas Pflug 2004-06-18 23:49:37 Re: Tablespace patch review

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2004-06-19 00:05:41 Re: Tablespace patch review
Previous Message Andreas Pflug 2004-06-18 23:49:37 Re: Tablespace patch review