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 secure pg_hba.conf
Date: Thu, 1 Dec 2022 12:44:54 -0600
Message-ID: <c977b52e-a3a1-4ec6-be3b-3f60033d8587@gmail.com> (raw)
In-Reply-To: <DM8PR02MB8231DCDEC8243903101492E289149@DM8PR02MB8231.namprd02.prod.outlook.com>
References: <DM8PR02MB8231DCDEC8243903101492E289149@DM8PR02MB8231.namprd02.prod.outlook.com>

On 12/1/22 07:45, Rizwan Shaukat wrote:
> Hi,
>
> we hv requiremnt from security to secure pg_hba.conf file was encryption or password protected on server to protect ip visibilty because these server access by application n thy can amend as well. how we can achive it pls

pg_hba.conf should only be readable by user postgres, while your application 
should not be running as user postgres.  Thus, there should not be a problem.

-- 
Angular momentum makes the world go 'round.





view thread (5+ messages)  latest in thread

Message-ID: <c977b52e-a3a1-4ec6-be3b-3f60033d8587@gmail.com>
Permalink:  ../c977b52e-a3a1-4ec6-be3b-3f60033d8587@gmail.com/
Also on:    postgresql.org/message-id/c977b52e-a3a1-4ec6-be3b-3f60033d8587@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 secure pg_hba.conf
  In-Reply-To: <c977b52e-a3a1-4ec6-be3b-3f60033d8587@gmail.com>
  References: <DM8PR02MB8231DCDEC8243903101492E289149@DM8PR02MB8231.namprd02.prod.outlook.com> <c977b52e-a3a1-4ec6-be3b-3f60033d8587@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