Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pj58x-0007dk-Hw for pgsql-general@arkaria.postgresql.org; Sun, 02 Apr 2023 21:21:43 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1pj58w-0007Xl-9V for pgsql-general@arkaria.postgresql.org; Sun, 02 Apr 2023 21:21:42 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pj58v-0007XZ-Ur for pgsql-general@lists.postgresql.org; Sun, 02 Apr 2023 21:21:41 +0000 Received: from mail-wm1-x336.google.com ([2a00:1450:4864:20::336]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1pj58t-000Vu8-Gv for pgsql-general@postgresql.org; Sun, 02 Apr 2023 21:21:41 +0000 Received: by mail-wm1-x336.google.com with SMTP id i5-20020a05600c354500b003edd24054e0so18599134wmq.4 for ; Sun, 02 Apr 2023 14:21:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1680470498; h=to:in-reply-to:cc:references:message-id:date:subject:mime-version :from:content-transfer-encoding:from:to:cc:subject:date:message-id :reply-to; bh=rqjmSKh7dotzelv/3s/gbUYD1DtoQDdY+1IeaUFMiyw=; b=P5Iipc/RKwMsS2xovyw5iPF4343ez+XJnntPc3fre12WvuBcKeG6WMY4f4ky52WSVN zoekCKEAGdivezv2i4JJcEg5qgrxLA8uiGrMixyysupPVQ6yOW71b7TIsks6inu4r7El sBiRnGaGaJIuEtVXMLkMvHRivaI8H+7RxRe+oPwZif0fqxRm1vbcFe9s9KoWqq89NoqG ZsF0UFgfMqzm6a2bgVNp/+dE7doPvXqDIYWFxz1Y0x7L6iBlgE5bIO4ddkblEhU1Y+69 KMqBcTAvSZsTg2dNqnUd0Kbi8R2Fx2bTAWvZW5ieMvfQuEV5S913nfuhTqYYz7PtRzVX h9sA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680470498; h=to:in-reply-to:cc:references:message-id:date:subject:mime-version :from:content-transfer-encoding:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=rqjmSKh7dotzelv/3s/gbUYD1DtoQDdY+1IeaUFMiyw=; b=DkXesatHd2yMBSqEigKLNqIsUUOyaRErdK4+Z6885xq7jr7LVlJm3n5JwipEwrF5Hm BOTRq0Ur65T3kuVxtNx4PYixeOBo1sFdLvcy1vbQ3mu3d4VREFNKeEKXy0mZ83TW395y oslVWtUjc6XxJgOz9GMP7O9XmG4F3gXuNt8QafF7w1qddH7uw9TYsWoz2Ks0FiUUWayK EuhJ/cUN9i/hyRCPc3QnlkkFmR5af9K6NhiTcyi2cox0rrPJGKv4Lxw0PklzoWoI1F5n D4R+NvtD86C4KyOEqm/Q6QZQ9tj3rc8ALNa/NPkj/wP2pYBnLRBvbtryS6XKkAfpaPGO AXvg== X-Gm-Message-State: AO0yUKWPjvoXFj7G8x0sGVABKkMyVq7zvVFZUHb80S+fRpRwd1HFwuxi b/7yRAHiyqHkn4ewTGPefsY= X-Google-Smtp-Source: AK7set/ak5xDOwlIrWkuKtK5KsItdJIe92XJPewTcaPIlWeIXBHhcZZWQ55CEI63PXWgFYrZ1RVMzw== X-Received: by 2002:a7b:c409:0:b0:3ea:f6c4:305e with SMTP id k9-20020a7bc409000000b003eaf6c4305emr24381157wmi.38.1680470497908; Sun, 02 Apr 2023 14:21:37 -0700 (PDT) Received: from smtpclient.apple ([185.170.224.189]) by smtp.gmail.com with ESMTPSA id y5-20020a1c4b05000000b003edd1c44b57sm10073175wma.27.2023.04.02.14.21.37 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 02 Apr 2023 14:21:37 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable From: Joseph Kennedy Mime-Version: 1.0 (1.0) Subject: Re: PostgreSQL Date: Sun, 2 Apr 2023 23:21:26 +0200 Message-Id: References: <2eef5146f9836742de02d9db5cbe6cc8a4e3827d.camel@cybertec.at> Cc: Stephen Frost , Giovanni Biscontini , pgsql-general@postgresql.org In-Reply-To: <2eef5146f9836742de02d9db5cbe6cc8a4e3827d.camel@cybertec.at> To: Laurenz Albe X-Mailer: iPhone Mail (20E247) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk > Wiadomo=C5=9B=C4=87 napisana przez Laurenz Albe = w dniu 09.02.2023, o godz. 16:42: >=20 > =EF=BB=BFOn Thu, 2023-02-09 at 09:54 +0100, Joseph Kennedy wrote: >> As I wtote, I would like restrict access to sensitive or restricted infor= mation >> for some users (eg. hide data of one or more clients for some database us= ers). >>=20 >> My question is: do you know some other solution to do that ?=20 >=20 > It is easy to hide data from users: use permissions or row level security.= >=20 > It is impossible to hide metadata from users, but we don't consider that a= problem. >=20 > If you want that, use a database or a database cluster per user. >=20 > Yours, > Laurenz Albe I have one more question on this topic regarding Row Level Security.=20 I would like to hide some rows for users who should have full rights to data= base eg. create Index, drop table, create tabel etc. but e.g. create index c= an be done by owner or superusers but they are bypassed by Row Level Securit= y.=20 Is possible to use RLS for users who should have full rights to database ? =20=