pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter J. Holzer <hjp-pgsql@hjp.at>
To: pgsql-general@lists.postgresql.org
Subject: Re: Key encryption and relational integrity
Date: Fri, 29 Mar 2019 20:53:27 +0100
Message-ID: <20190329195327.qisqedrof77snsv2@hjp.at> (raw)
In-Reply-To: <e5c229bf-c1fc-826f-26a5-708d611016ea@evolu-s.it>
References: <094bf875-5b49-8d3c-1fa3-97c07246b890@evolu-s.it>
	<CAG0dhZCLGR2YB1TckUFaP5OHwDr6UdmBc7j=g0kK6jZz-2sB8Q@mail.gmail.com>
	<b751ba08-2ca8-353b-e09f-50a7c930747f@evolu-s.it>
	<20190328225050.3jtlhwke77uaiabu@hjp.at>
	<e5c229bf-c1fc-826f-26a5-708d611016ea@evolu-s.it>

On 2019-03-29 17:05:41 +0100, Moreno Andreo wrote:
> Il 28/03/2019 23:50, Peter J. Holzer ha scritto:
> > On 2019-03-28 15:29:50 +0100, Moreno Andreo wrote:
> > > here I'm trying to find a way so nobody can, without the use of the
> > > application, match a patient with their clinical records (i.e. someone
> > > breaking into the server -- data breach)
> > I think it is very optimistic to assume that an intruder would get
> > access to the database but not the application.

> Well, application resides on another instance (server), but if the attacker
> has been able to take control of one server, he surely could try to break
> another one, but it takes time.....

I can't claim to be a security expert any more (I've drifted away from
that topic over the last decade or so), but most data breaches that were
publicised over the last few years started at some employees desktop.
As such your assumption "server A may be hacked, server B safer, and the
application is completely safe" seems unrealistic to me. I think that
the application will fall first (and whatever privileges it provides to
the user will therefore be in the hands of the attacker), and the
server(s) will come aftet that. So I would design such an application
with the assumption that the user's PC has been compromised and secure
the server(s) against that case.

        hp

-- 
   _  | Peter J. Holzer    | we build much bigger, better disasters now
|_|_) |                    | because we have much more sophisticated
| |   | hjp@hjp.at         | management tools.
__/   | http://www.hjp.at/ | -- Ross Anderson <https://www.edge.org/;

Attachments:

  signature.asc (application/pgp-signature, 832B) download

view thread (23+ messages)  latest in thread

Message-ID: <20190329195327.qisqedrof77snsv2@hjp.at>
Permalink:  ../20190329195327.qisqedrof77snsv2@hjp.at/
Also on:    postgresql.org/message-id/20190329195327.qisqedrof77snsv2@hjp.at

 · 

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: hjp-pgsql@hjp.at
  Subject: Re: Key encryption and relational integrity
  In-Reply-To: <20190329195327.qisqedrof77snsv2@hjp.at>
  References: <094bf875-5b49-8d3c-1fa3-97c07246b890@evolu-s.it> <CAG0dhZCLGR2YB1TckUFaP5OHwDr6UdmBc7j=g0kK6jZz-2sB8Q@mail.gmail.com> <b751ba08-2ca8-353b-e09f-50a7c930747f@evolu-s.it> <20190328225050.3jtlhwke77uaiabu@hjp.at> <e5c229bf-c1fc-826f-26a5-708d611016ea@evolu-s.it> <20190329195327.qisqedrof77snsv2@hjp.at>

* 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