pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ron <ronljohnsonjr@gmail.com>
To: pgsql-general@lists.postgresql.org
Subject: Re: How to control pg_catalog results for each users?
Date: Mon, 30 Jan 2023 07:18:35 -0600
Message-ID: <d7305b7d-9ea4-8c96-45ee-300bd7e6d344@gmail.com> (raw)
In-Reply-To: <564d8a38d11cee5f490cc0a40baf322fc884ed8a.camel@cybertec.at>
References: <32b68caa-8731-8952-bad5-462566760809@swc.toshiba.co.jp>
	<564d8a38d11cee5f490cc0a40baf322fc884ed8a.camel@cybertec.at>

On 1/30/23 02:41, Laurenz Albe wrote:
> On Mon, 2023-01-30 at 14:00 +0900, hirose shigeo(廣瀬 繁雄 □SWC○ACT) wrote:
>> all users can get the all of table name , table structure and other
>> information from pg_catalog, which is considered a security problem.
> The belief that restricting that will improve security goes by the name
> of "security by obscurity", which is usually not considered robust.

Your description sounds a whole lot like PostgreSQL's row level security.

-- 
Born in Arizona, moved to Babylonia.





view thread (6+ messages)  latest in thread

Message-ID: <d7305b7d-9ea4-8c96-45ee-300bd7e6d344@gmail.com>
Permalink:  ../d7305b7d-9ea4-8c96-45ee-300bd7e6d344@gmail.com/
Also on:    postgresql.org/message-id/d7305b7d-9ea4-8c96-45ee-300bd7e6d344@gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: ronljohnsonjr@gmail.com
  Subject: Re: How to control pg_catalog results for each users?
  In-Reply-To: <d7305b7d-9ea4-8c96-45ee-300bd7e6d344@gmail.com>
  References: <32b68caa-8731-8952-bad5-462566760809@swc.toshiba.co.jp> <564d8a38d11cee5f490cc0a40baf322fc884ed8a.camel@cybertec.at> <d7305b7d-9ea4-8c96-45ee-300bd7e6d344@gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox