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: Postgresql database encryption
Date: Fri, 20 Apr 2018 18:07:33 -0500
Message-ID: <7035313d-50fa-8d9c-3aa3-999d12e06afa@gmail.com> (raw)
In-Reply-To: <CALd+dcfS8rCQb1fuo5Ua9HvPqibgrvib4+QsSo7v9SJjxf=3Dg@mail.gmail.com>
References: <CAN6gwKy-+2J3beE4vTpCbOko0i9Scm_rJu0JWEo+cQQLCsjS4A@mail.gmail.com>
	<CALd+dcfS8rCQb1fuo5Ua9HvPqibgrvib4+QsSo7v9SJjxf=3Dg@mail.gmail.com>

On 04/20/2018 03:55 PM, Vick Khera wrote:
> On Fri, Apr 20, 2018 at 11:24 AM, Vikas Sharma <shavikas@gmail.com 
> <mailto: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.

Someone really needs to explain that to me. My company-issued laptop has 
WDE, and that's great for when the machine is shut down and I'm carrying it 
from place to place, but when it's running, all the data is transparently 
decrypted for every process that wants to read the data, including malware, 
industrial spies,

Thus, unless you move your DB server on a regular basis, I can't see the 
usefulness of WDE on a static machine.

> 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.

-- 
Angular momentum makes the world go 'round.

view thread (20+ messages)  latest in thread

Message-ID: <7035313d-50fa-8d9c-3aa3-999d12e06afa@gmail.com>
Permalink:  ../7035313d-50fa-8d9c-3aa3-999d12e06afa@gmail.com/
Also on:    postgresql.org/message-id/7035313d-50fa-8d9c-3aa3-999d12e06afa@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: Postgresql database encryption
  In-Reply-To: <7035313d-50fa-8d9c-3aa3-999d12e06afa@gmail.com>
  References: <CAN6gwKy-+2J3beE4vTpCbOko0i9Scm_rJu0JWEo+cQQLCsjS4A@mail.gmail.com> <CALd+dcfS8rCQb1fuo5Ua9HvPqibgrvib4+QsSo7v9SJjxf=3Dg@mail.gmail.com> <7035313d-50fa-8d9c-3aa3-999d12e06afa@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