Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1s2VU9-003ac5-Sb for pgsql-general@arkaria.postgresql.org; Thu, 02 May 2024 12:24:25 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1s2VU6-000DC0-MD for pgsql-general@arkaria.postgresql.org; Thu, 02 May 2024 12:24:23 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1s2VU6-000DBs-BI for pgsql-general@lists.postgresql.org; Thu, 02 May 2024 12:24:23 +0000 Received: from mail-oo1-xc35.google.com ([2607:f8b0:4864:20::c35]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1s2VU5-001AX6-14 for pgsql-general@lists.postgresql.org; Thu, 02 May 2024 12:24:22 +0000 Received: by mail-oo1-xc35.google.com with SMTP id 006d021491bc7-5aa27dba8a1so4641679eaf.0 for ; Thu, 02 May 2024 05:24:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1714652659; x=1715257459; darn=lists.postgresql.org; h=cc:to:subject:message-id:date:from:references:in-reply-to :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=qt/8IZ9A6v0iEHOVDtsZLfGt5kPS924nSyg1n8mDoi4=; b=GqlFy8BqlWG0aa0cxxyNewvtienawU4TanSQAwKWT0pzESFM356G6tORs9UH5Pqmfl At3hZ+rdm7Tl3O7olbM6INRwTvFUXDQF3Z3aE3RADWtXINah2UFz3w7yYiCPNZTdeI8L 4jQELXQT6AzrglccAztGB7HOJN6FIY6cbTg7+tKUu0cBw8XkTzRxjDip5vXrOQAwKfon iFKSOB03JGQS3KPdxQu6Df8y9fXY6fjcS0s1EjmpHZsjrtNNOcwBzVheCqHUjx7epXZm U7qU5n81B2DVVl0ycU24i+r2YrPaCEhnN8Tkt6LIqmDGvVD/XuzlG9RCRJe1PeKI7Fnp sN+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714652659; x=1715257459; h=cc:to:subject:message-id:date:from:references:in-reply-to :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=qt/8IZ9A6v0iEHOVDtsZLfGt5kPS924nSyg1n8mDoi4=; b=utwfkRqzprOChxdjDe8iskTCm/dTzLiODihkRMwloUXgH5QDgUXjAS9sYge5p+escj MtvCuCoMNjwCXE4JwFq8ltS2WNzDUvvBXLp7bqlR1CA6hW6BWsStVQqq6QG5vMO6Rf4m YAKmepAuvZR6419tcEfgb7BK7ndPrlvMSMJHGRG/VGss+UMHCDjCghnr659mMFa/xiIG wxGOiMmbWc/GdnV9BGcJP9CllCbspnuZfCiQLR/9MfmXUWnJbfIKBbgpICxAUG4hjyHH NPVJqjLqW1gnMc6R3V2qfePctlXCu92Wtj25gLPejuA9jGQ9AMVsirxs2ZPalJsQu7ru RuWA== X-Gm-Message-State: AOJu0YwGpePOFSas22gxY4qqMi6CCM43ViDlUbAfbYzLheWqTO2Ev5CT IcwP5QLfmK2Qj5PL+c3eVwzUOpbW4/HmjEjTFw/493U2KvQOFXUjN/PUFxeTDZx6ktXBuR5xGc9 GpWxpMQ8xY1cjov61xoN8lGGlnGq0Cg== X-Google-Smtp-Source: AGHT+IEOpsxx1AOqoRf4L98P4GBez4ft1aRgXypDts0xFsKTXdxevXVsUiVlKFG0y/VHi/zc2xXxzrnuOxO32ht8q90= X-Received: by 2002:a4a:af02:0:b0:5aa:3e8e:e1f with SMTP id w2-20020a4aaf02000000b005aa3e8e0e1fmr5850485oon.5.1714652659364; Thu, 02 May 2024 05:24:19 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:ac9:5f0a:0:b0:52a:9016:8503 with HTTP; Thu, 2 May 2024 05:24:18 -0700 (PDT) In-Reply-To: References: From: "David G. Johnston" Date: Thu, 2 May 2024 05:24:18 -0700 Message-ID: Subject: Re: Prevent users from executing pg_dump against tables To: RAJAMOHAN Cc: "pgsql-general@lists.postgresql.org" Content-Type: multipart/alternative; boundary="000000000000acbac4061777aeeb" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --000000000000acbac4061777aeeb Content-Type: text/plain; charset="UTF-8" On Wednesday, May 1, 2024, RAJAMOHAN 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. --000000000000acbac4061777aeeb Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wednesday, May 1, 2024, RAJAMOHAN <garajamohan@gmail.com> wrote:

=C2=A0Main 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.=C2=A0 And really not t= hat difficult.

Trust but verify - i.e., use someth= ing like pg_audit.
=C2=A0
David J.

--000000000000acbac4061777aeeb--