Received: from localhost (maia-2.hub.org [200.46.204.187]) by postgresql.org (Postfix) with ESMTP id D8D819FB21C for ; Wed, 23 May 2007 09:25:07 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.187]) (amavisd-maia, port 10024) with ESMTP id 13593-06 for ; Wed, 23 May 2007 09:24:59 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from a2s5.a2hosting.com (a2s5.a2hosting.com [209.124.50.10]) by postgresql.org (Postfix) with ESMTP id 862349FB1E7 for ; Wed, 23 May 2007 09:25:04 -0300 (ADT) Received: from adsl-153-114-148.tys.bellsouth.net ([70.153.114.148] helo=[192.168.1.12]) by a2s5.a2hosting.com with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.63) (envelope-from ) id 1Hqptk-0000Ix-II; Wed, 23 May 2007 08:25:00 -0400 In-Reply-To: <4653FEF4.3090806@gmx.net> References: <46523EF5.9020800@gmx.net> <46537A3A.3040709@g2switchworks.com> <4653FEF4.3090806@gmx.net> Mime-Version: 1.0 (Apple Message framework v752.3) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <7A4AADFB-12E4-4F73-BA09-CC8BED4E3E17@pgedit.com> Cc: Scott Marlowe , pgsql-admin@postgresql.org Content-Transfer-Encoding: 7bit From: John DeSoi Subject: Re: Can I restrict backups? Date: Wed, 23 May 2007 08:24:56 -0400 To: Andreas X-Mailer: Apple Mail (2.752.3) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - a2s5.a2hosting.com X-AntiAbuse: Original Domain - postgresql.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - pgedit.com X-Source: X-Source-Args: X-Source-Dir: X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200705/243 X-Sequence-Number: 25563 On May 23, 2007, at 4:44 AM, Andreas wrote: > Right. > It's like that. They should work on projects that only contain a > subset e.g. of customer addresses and subsequently on the task > related objects like orders regarding the current project. Another thought is to make all data returned through pl/pgsql function calls (see SECURITY DEFINER option). I think you could revoke all access to the underlying tables. In addition to only returning data relevant to the task, the function could automatically limit the number of rows returned to make it more difficult to dump large amounts of data. John DeSoi, Ph.D. http://pgedit.com/ Power Tools for PostgreSQL