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 1iU9ic-0005KS-Te for pgsql-general@arkaria.postgresql.org; Mon, 11 Nov 2019 13:26:59 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1iU9ib-0002Ne-96 for pgsql-general@arkaria.postgresql.org; Mon, 11 Nov 2019 13:26:57 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iU9ia-0002NX-VE for pgsql-general@lists.postgresql.org; Mon, 11 Nov 2019 13:26:57 +0000 Received: from n3.nabble.com ([162.255.23.22]) by magus.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1iU9iV-0004pY-V8 for pgsql-general@postgresql.org; Mon, 11 Nov 2019 13:26:55 +0000 Received: from n3.nabble.com (localhost [127.0.0.1]) by n3.nabble.com (Postfix) with ESMTP id 9BE6C189C121D for ; Mon, 11 Nov 2019 06:26:49 -0700 (MST) Date: Mon, 11 Nov 2019 06:26:49 -0700 (MST) From: PegoraroF10 To: pgsql-general@postgresql.org Message-ID: <1573478809636-0.post@n3.nabble.com> Subject: security on user for replication MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_147095_792094158.1573478809636" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk ------=_Part_147095_792094158.1573478809636 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable We use replication with publication/subsctription. It=C2=B4s ok, works fine= . But if I go to my replica server and do select * from pg_subscription=20 on field subconninfo I have all properties to connect. host, port, user, password and dbname, all these info are available. Documentation says user for replication is equivalent to a superuser and must have the login attribute. If this user has all this power and using that select on replica all that info is available ... How can I hide that info from users which are connected to my replica serve= r or=20 If it=C2=B4s possible to have a replication user with not superuser rights = or with NoLogin -- Sent from: https://www.postgresql-archive.org/PostgreSQL-general-f1843780.h= tml ------=_Part_147095_792094158.1573478809636 Content-Type: text/html; charset=UTF8 Content-Transfer-Encoding: quoted-printable We use replication with publication/subsctription. It=C2=B4s ok, works fine= .

But if I go to my replica server and do select * from pg_subscription=

on field subconninfo I have all properties to connect. host, p= ort, user, password and dbname, all these info are= available.

Documentation says user for replication is equivalent to a superuser and= must have the login attribute. If this user has all this power and using t= hat select on replica all that info is available ...

How can I hide that info from users which are connected to my replica= server or

If it=C2=B4s possible to have a replication user with not sup= eruser rights or with NoLogin =09 =09 =09


Sent from the PostgreSQL - general mailing list archive at Nabble.= com.
------=_Part_147095_792094158.1573478809636--