Skip site navigation (1) Skip section navigation (2)

Re: Can I restrict backups?

From: John DeSoi <desoi(at)pgedit(dot)com>
To: Andreas <maps(dot)on(at)gmx(dot)net>
Cc: Scott Marlowe <smarlowe(at)g2switchworks(dot)com>, pgsql-admin(at)postgresql(dot)org
Subject: Re: Can I restrict backups?
Date: 2007-05-23 12:24:56
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-admin
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.
Power Tools for PostgreSQL

In response to


pgsql-admin by date

Next:From: Tom LaneDate: 2007-05-23 13:38:26
Subject: Re: initializing the DB cluster
Previous:From: Ireneusz PlutaDate: 2007-05-23 12:03:58
Subject: Re: how to view all database,tables,users

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group