Re: Security implications of config-file-location patch

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Security implications of config-file-location patch
Date: 2004-10-08 04:21:06
Message-ID: 200410080421.i984L6w17451@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Andrew Dunstan wrote:
>
>
> Tom Lane wrote:
>
> >
> >I am sort of on the fence about this. I am thinking that it would be
> >good to expose this information, but *only* to superusers. It would not
> >take much code to add a GUC variable flag bit that prevents
> >non-superusers from examining the value of the GUC variable, and only a
> >little more code to reflect the correct paths into these variables all
> >the time.
> >
> >
> >
> >
>
> On the basis that I can't see that anyone but the superuser has a
> legitimate interest in the info, this sounds good.

If they are using tablespaces is it OK that anyone can see their
location?

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2004-10-08 04:26:06 Re: [PATCHES] HP-UX PA-RISC/Itanium 64-bit Patch and HP-UX
Previous Message Shinji Teragaito 2004-10-08 03:26:04 Re: [PATCHES] HP-UX PA-RISC/Itanium 64-bit Patch and HP-UX