Re: Postgresql database encryption - Mailing list pgsql-general

From Vick Khera
Subject Re: Postgresql database encryption
Date
Msg-id CALd+dcfS8rCQb1fuo5Ua9HvPqibgrvib4+QsSo7v9SJjxf=3Dg@mail.gmail.com
Whole thread Raw
In response to Postgresql database encryption  (Vikas Sharma <shavikas@gmail.com>)
Responses Re: Postgresql database encryption  (Ron <ronljohnsonjr@gmail.com>)
Re: Postgresql database encryption  (Vikas Sharma <shavikas@gmail.com>)
List pgsql-general
On Fri, Apr 20, 2018 at 11:24 AM, Vikas Sharma <shavikas@gmail.com> wrote:
Hello Guys,

Could someone throw light on the postgresql instance wide or database wide encryption please? Is this possible in postgresql and been in use in production?.

For anyone to offer a proper solution, you need to say what purpose your encryption will serve. Does the data need to be encrypted at rest? Does it need to be encrypted in memory? Does it need to be encrypted at the database level or at the application level? Do you need to be able to query the data? There are all sorts of scenarios and use cases, and you need to be more specific.

For me, using whole-disk encryption solved my need, which was to ensure that the data on disk cannot be read once removed from the server. For certain fields in one table, I use application level encryption so only the application itself can see the original data. Anyone else querying that table sees the encrypted blob, and it was not searchable.

pgsql-general by date:

Previous
From: PegoraroF10
Date:
Subject: Re: Problem with trigger makes Detail record be invalid
Next
From: "Jonathan S. Katz"
Date:
Subject: Re: New website