Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hznGY-00062v-K5 for pgsql-general@arkaria.postgresql.org; Mon, 19 Aug 2019 19:24:31 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hznGX-0005Q1-2t for pgsql-general@arkaria.postgresql.org; Mon, 19 Aug 2019 19:24:29 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hznGV-0005EI-0X for pgsql-general@lists.postgresql.org; Mon, 19 Aug 2019 19:24:28 +0000 Received: from [66.111.4.25] (helo=out1-smtp.messagingengine.com) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.92) (envelope-from ) id 1hznGR-0005GN-W1 for pgsql-general@lists.postgresql.org; Mon, 19 Aug 2019 19:24:25 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id A4053212BF; Mon, 19 Aug 2019 15:24:12 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Mon, 19 Aug 2019 15:24:12 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= subject:to:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm3; bh=0 oT6JTyOR4u7KP0jszNk1fps33ZACdlz1FUQOU3toj0=; b=Ovo565427OX20Ptp3 xW9MYrvciUyB1N2BZTfDAVfIHiabS9VYb2pCcGe/L9GSqJysREvyc/v/6iKz37c2 eNEA4DL6eo4gArsFpZF/96P0HSYNGlpXyGtXaAaRCRMdqlAGb48OSQ49sC+Z0UuC zvbuv0/NpX5x2lzsoqBh9A52wLj4Rv+BmmDLl3A3uleSpIsqY3wL9sNZstLTp0Ko 7W0WMAVM68yRkqjputtDkT89B7GUvgqeA+UJOxFeaH3dqtOwF+chC8HrbbkqlqCa rzgwIXQTBH63AXHJRvkB6FukpzothQxlT/wNCpanedaVjR0Kfk8r50XpY5SV5CO+ HAclQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=0oT6JTyOR4u7KP0jszNk1fps33ZACdlz1FUQOU3to j0=; b=RgS95Z56lcwVoB8Hg8cDVfeCQIeIJDksm3E7N2hFSNdT9KUg9AnN0KRRI JDXXVm4WC8tp76iCnIALY8jntmO6xY9MDCjKGBPwQchm+vsQvKVUjI5UBA2wr8P/ /f3uzXcPx0HPR1pMYa2PxndYIZamns8zfJPTrKpLqD9lxjbBL4hfS5TxT+16v6iW ZCtsj+0HEyGy6ZOgSTECV0ClcKCL79y/UbOjygJm8AO2RRKMRhHHKlnTRTCsF2qb 5dlPFK5IO6DQ1CWRRMcm7YiCIkBIO9iXgLFVF6jQs1f7MtcciqTQPQvbTfBmLLBG B3RD1dw0P87afDBUF9yNT4HjOC0fg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduvddrudefledgudefjecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhepuffvfhfhkffffgggjggtgfesth ejredttdefjeenucfhrhhomheptegurhhirghnucfmlhgrvhgvrhcuoegrughrihgrnhdr khhlrghvvghrsegrkhhlrghvvghrrdgtohhmqeenucffohhmrghinhepphhoshhtghhrvg hsqhhlrdhorhhgnecukfhppeejuddrvdduvddrudehtddrvddtvdenucfrrghrrghmpehm rghilhhfrhhomheprggurhhirghnrdhklhgrvhgvrhesrghklhgrvhgvrhdrtghomhenuc evlhhushhtvghrufhiiigvpedt X-ME-Proxy: Received: from [192.168.1.4] (unknown [71.212.150.202]) by mail.messagingengine.com (Postfix) with ESMTPA id 04A8D380076; Mon, 19 Aug 2019 15:24:11 -0400 (EDT) Subject: Re: Collumn level permissions ? To: stan , pgsql-general@lists.postgresql.org References: <20190819191702.GA27027@panix.com> From: Adrian Klaver Message-ID: <6b418494-d849-bdc8-3bd0-bdaadcdc4095@aklaver.com> Date: Mon, 19 Aug 2019 12:24:11 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.2 MIME-Version: 1.0 In-Reply-To: <20190819191702.GA27027@panix.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Host-Lookup-Failed: Reverse DNS lookup failed for 66.111.4.25 (deferred) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 8/19/19 12:17 PM, stan wrote: > I do know a way to solve this. I could create a view "B" that is a view of > tab;e "A" without column "C" on the select, and give a user permissions on > B, but not on A, or at least I think that would work. > > What I specifically need to do is "hide" one column of a table from a set > of users. > > Any better way to do this? https://www.postgresql.org/docs/11/sql-grant.html > > -- Adrian Klaver adrian.klaver@aklaver.com