pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter_e@gmx.net>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Jan Wieck <wieck@debis.com>
Cc: PostgreSQL Development <pgsql-hackers@postgresql.org>
Cc: pgsql-sql@postgresql.org
Subject: Re: Foreign keys breaks tables permissions
Date: Sun, 21 May 2000 18:45:20 +0200 (CEST)
Message-ID: <Pine.LNX.4.21.0005201947120.423-100000@localhost.localdomain> (raw)
In-Reply-To: <8838.958758255@sss.pgh.pa.us>

Tom Lane writes:

> This is perhaps the least undesirable of the choices we have, but it's
> still a security hole.

The reason this concerns me is that requiring update rights on the
referenced table eliminates much the benefit of foreign keys from an
administration point of view: If the primary keys can be updated freely,
they no longer constrain the data in the referencing table effectively.

I suppose we'll have to live with that for now but I'd suggest that it be
put on the TODO list somewhere.


-- 
Peter Eisentraut                  Sernanders väg 10:115
peter_e@gmx.net                   75262 Uppsala
http://yi.org/peter-e/            Sweden




view thread (13+ messages)  latest in thread

Message-ID: <Pine.LNX.4.21.0005201947120.423-100000@localhost.localdomain>
Permalink:  ../Pine.LNX.4.21.0005201947120.423-100000@localhost.localdomain/
Also on:    postgresql.org/message-id/Pine.LNX.4.21.0005201947120.423-100000@localhost.localdomain

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-sql@postgresql.org
  Cc: peter_e@gmx.net, tgl@sss.pgh.pa.us, wieck@debis.com, pgsql-hackers@postgresql.org
  Subject: Re: Foreign keys breaks tables permissions
  In-Reply-To: <Pine.LNX.4.21.0005201947120.423-100000@localhost.localdomain>
  References: <8838.958758255@sss.pgh.pa.us> <Pine.LNX.4.21.0005201947120.423-100000@localhost.localdomain>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox