Re: Prevent users from executing pg_dump against tables

From: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
To: RAJAMOHAN <garajamohan(at)gmail(dot)com>
Cc: "pgsql-general(at)lists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: Prevent users from executing pg_dump against tables
Date: 2024-05-02 12:24:18
Message-ID: CAKFQuwa2gb6QKvUVuGTy4T1cScKgJEhaxvqwKDeJAZgpxpTWYg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Wednesday, May 1, 2024, RAJAMOHAN <garajamohan(at)gmail(dot)com> wrote:

>
> Main reason being I don't want the data to be copied from the database to
> their local machines.
>

You cannot stop it being copied to their local machine, you can only make
it difficult. And really not that difficult.

Trust but verify - i.e., use something like pg_audit.

David J.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Thom Brown 2024-05-02 12:28:56 Re: Listing only the user defined types (with owners)
Previous Message Kashif Zeeshan 2024-05-02 12:06:35 Re: Listing only the user defined types (with owners)