Received: from merganser.its.uu.se (merganser.its.uu.se [130.238.6.236]) by hub.org (8.9.3/8.9.3) with ESMTP id MAA49069; Sun, 21 May 2000 12:40:30 -0400 (EDT) (envelope-from peter@localhost.its.uu.se) Received: from regulus.student.UU.SE ([130.238.5.2]:36731 "EHLO regulus.its.uu.se") by merganser.its.uu.se with ESMTP id ; Sun, 21 May 2000 18:40:10 +0200 Received: from peter (helo=localhost) by regulus.its.uu.se with local-esmtp (Exim 3.02 #2) id 12tYqu-0001MI-00; Sun, 21 May 2000 18:45:20 +0200 Date: Sun, 21 May 2000 18:45:20 +0200 (CEST) From: Peter Eisentraut To: Tom Lane cc: Jan Wieck , PostgreSQL Development , pgsql-sql@postgresql.org Subject: Re: Foreign keys breaks tables permissions In-Reply-To: <8838.958758255@sss.pgh.pa.us> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT X-Archive-Number: 200005/92 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