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 1tDx5B-004FtQ-Ob for pgsql-admin@arkaria.postgresql.org; Thu, 21 Nov 2024 02:38:13 +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 1tDx5A-00BCJq-0B for pgsql-admin@arkaria.postgresql.org; Thu, 21 Nov 2024 02:38:12 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tDx59-00BCJh-GZ for pgsql-admin@lists.postgresql.org; Thu, 21 Nov 2024 02:38:11 +0000 Received: from mail-lf1-x135.google.com ([2a00:1450:4864:20::135]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1tDx56-002yXo-QA for pgsql-admin@lists.postgresql.org; Thu, 21 Nov 2024 02:38:10 +0000 Received: by mail-lf1-x135.google.com with SMTP id 2adb3069b0e04-539e8607c2aso390395e87.3 for ; Wed, 20 Nov 2024 18:38:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1732156686; x=1732761486; darn=lists.postgresql.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=+MoLHRJOV1Ov8T7lwXwyp7CdvI06ZmbMRlv7HmGeeG0=; b=JbdQ4rP56HPae/6joIweAk0hk4R3vFhg7qSw6yXnllVf0IVHFqyvyPGbuJWsW8o8i3 Mm+E+HjMCXlzeAo59O0LxiPTRX7eJ4cAiBnF/BxJV7R7Ks8qrWFKMVCaAzIjic4A+D+t hlAsxfEapZvZjmmj52bouJbix7vTb+tFwktNXm2O3vqbE2PupumhoBoI+kDaDA9J6v8K aRluX0m+DqxdLqoWq+Kx5jVBc9j94Sh+nn7rd9hwxuuZoliMbj1bD5qfz4q46bQeUDS+ jO3GNa8njS+zRPvMyKq/mHZRPeJx5aLeY36wcFv9O/mhx4yzgcTmJi+ec8o6/OmUf/zv MacQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732156686; x=1732761486; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=+MoLHRJOV1Ov8T7lwXwyp7CdvI06ZmbMRlv7HmGeeG0=; b=Gt3RhLbhp++pCwtzmQkd5PwMFXBvIzDBXuBgz4UX7I1U7bA9GWbcRrOyaseR2R0OqX Cf5hnbUguPdCYi3STPTOBxQbtvk0oNdGsLqFwRi6jKIm9cHgblNtUjHZ2XpdEPgGRLJX ukcRt4YtjYjhF//m29MOjVeAtBCYnxCsOp1Irtm4kbSsQQCTVnA/rfogved9cMBUIAkX RIBwS/SqS8jFbsH/MRKZ3N5ivs14YmuDVPLm5DEa4ze21gYhm7djEwN2s9DjZfMVZR9J 9J98Cd8n+YsTwJiDGmyblzgss5oZpzc38ZgwIHA9zOAUmCYwSKgm83Z1O44kY55tb4p4 djcA== X-Gm-Message-State: AOJu0YwDbr0KRh008z+coXfEc7CE2Hv0dzJhbviv/7GMRT0w09FgKm/3 er7z03QNzDEJutId8H4J82kfGDnxrcleQy8xanZbVYNtRn+sN1HuP2XzAdPIIlX+jAh8Emwcx+W bEbHqzWEnFLquTyuXHj2jG0aK4o1NxXGV X-Gm-Gg: ASbGncuGbw0jz+5EprGtsiigOKVjme5vbJnFnJ8prsIB8rIoDXs0J7d6wmUpk6Y9JGB WkC+iwSAkqbvUFDN3sKn0uYEn/Vs3yqU= X-Google-Smtp-Source: AGHT+IGjjxE4HhQsC37RtZEXubPzmgIjZ2NwsKVzdX0V7ZLkNtANQq7MRFw7BeVw6S/g61qAnsIa7jmhqOSLVvbR1AQ= X-Received: by 2002:a05:6512:2347:b0:539:edbe:ac86 with SMTP id 2adb3069b0e04-53dc1326d69mr2167972e87.10.1732156685543; Wed, 20 Nov 2024 18:38:05 -0800 (PST) MIME-Version: 1.0 References: <74CE8CC4-3A14-4A64-AF90-9514E27CC56B@elevated-dev.com> In-Reply-To: <74CE8CC4-3A14-4A64-AF90-9514E27CC56B@elevated-dev.com> From: Srini Genji Date: Thu, 21 Nov 2024 13:37:53 +1100 Message-ID: Subject: Re: Disable Save results to file button To: Scott Ribe Cc: pgsql-admin@lists.postgresql.org Content-Type: multipart/alternative; boundary="000000000000efef490627632779" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --000000000000efef490627632779 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Thanks Scott, This is coming mainly from security to avoid users downloading huge datasets containing sensitive data in to their machine Regards Srini Genji On Thu, 21 Nov 2024, 11:17=E2=80=AFam Scott Ribe, wrote: > > On Nov 20, 2024, at 5:06=E2=80=AFPM, Srini Genji wrote: > > > > Hi > > I am using PGAdmin 4.8.13 and want to make sure that users are not > allowed to download or export the query results. How can I disable button= s > that allow users to export or save to file. > > For example: disable Save to file button > > Thanks in advance > > LOL, explain to your boss what a stupid idea this is. You have a user who > has credentials to query the database, yet you want to stop that user fro= m > using the data, in one specific application. Like the user can't connect > with psql, or DBeaver, or any other of a hundred applications... --000000000000efef490627632779 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Thanks Scott,
This is coming mainly from= security to avoid users downloading huge datasets containing sensitive dat= a in to their machine
Regards
Srini Genji=C2=A0

On Thu, 21 Nov 2024, 11:17=E2=80=AFam Scott Ribe, &= lt;scott_ribe@elevated-dev.c= om> wrote:
> On Nov 20, 2= 024, at 5:06=E2=80=AFPM, Srini Genji <srini.genji@gmail.com> w= rote:
>
> Hi
> I am using PGAdmin 4.8.13 and want to make sure that users are not all= owed to download or export the query results. How can I disable buttons tha= t allow users to export or save to file.
> For example: disable Save to file button
> Thanks in advance

LOL, explain to your boss what a stupid idea this is. You have a user who h= as credentials to query the database, yet you want to stop that user from u= sing the data, in one specific application. Like the user can't connect= with psql, or DBeaver, or any other of a hundred applications...
--000000000000efef490627632779--