Re: A little RLS oversight? - Mailing list pgsql-hackers

From Robert Haas
Subject Re: A little RLS oversight?
Date
Msg-id CA+TgmoYGs2CEh_VxE42s+FgRXJzr9xTY9noEwjoySxxf+rkn=g@mail.gmail.com
Whole thread Raw
In response to Re: A little RLS oversight?  (Dean Rasheed <dean.a.rasheed@gmail.com>)
Responses Re: A little RLS oversight?  (Alvaro Herrera <alvherre@2ndquadrant.com>)
List pgsql-hackers
On Wed, Jul 22, 2015 at 5:17 PM, Dean Rasheed <dean.a.rasheed@gmail.com> wrote:
> There's another issue here though -- just adding filters to the
> pg_stats view won't prevent a determined user from seeing the contents
> of the underlying table. For that, the view needs to have the
> security_barrier property. Arguably the fact that pg_stats isn't a
> security barrier view is a long-standing information leak allowing
> users to see values from tables for which they don't have any
> permissions. Is anyone concerned about that?

Hrm.  There's no help for that in the back-branches, but we should
probably change it in 9.5+.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: Add CINE for ALTER TABLE ... ADD COLUMN
Next
From: Michael Paquier
Date:
Subject: Re: [PATCH] Reload SSL certificates on SIGHUP