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: Thu, 28 Mar 2019 23:29:45 +0100
Message-ID: <20190328222945.vllasskjkliibfq2@hjp.at> (raw)
In-Reply-To: <7eb4fb29-73c5-c069-572a-621afe121564@evolu-s.it>
References: <094bf875-5b49-8d3c-1fa3-97c07246b890@evolu-s.it>
	<082fdd45-a12b-161b-8386-70ee8528361e@aklaver.com>
	<514fb642-bba4-7a14-b412-d953f1b8b7e7@evolu-s.it>
	<3f88c83d-23b0-537f-8325-5b1d19ca77f7@aklaver.com>
	<7eb4fb29-73c5-c069-572a-621afe121564@evolu-s.it>

On 2019-03-28 18:36:40 +0100, Moreno Andreo wrote:
> Il 26/03/2019 18:08, Adrian Klaver ha scritto:
> > To me it would seem something like:
> > 
> > Table medications
> > id    user_id        med
> > 1    sgkighs98    Medication
> > 2    sghighs98    Ear check
> > 
> > 
> > 
> > Table users
> > id            surname    last name
> > sgkighs98     John            Doe
> > jkopkl1       Jane            Doe
> > uepoti21      Foo             Bar
> > 
> > Where there is no direct link between the two.
> 
> Are you sure there isn't?... the key "sgkighs98" is present on both
> tables and I can join tables on that field, so the pseudonimysation
> does not apply,

Yes. It doesn't matter whether the key is 'sgkighs98' or 1438 or
692da0c1-cf2d-476d-8910-7f82c050f8fe. 

> it's just "separation" (that was OK with the last privacy act, but not
> with GDPR

I doubt that this is correct. The GDPR doesn't prescribe specific
technical means (there may be laws or standards in your country which
prescribe such means for medical data, but that's not the GDPR).


> The problem is not on the application side... there you can do almost
> anything you want to do. The prolem is that if someone breaks in the
> server (data breach) it is easy to join patients and their
> medications.

I sure hope that the doctors are able to join patients and their
medications. So at some level that has to be possible. If you assume a
break-in into the server, there will always be a level of penetration at
which the attacker will be able to access any data an authorized user
can access.

        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: <20190328222945.vllasskjkliibfq2@hjp.at>
Permalink:  ../20190328222945.vllasskjkliibfq2@hjp.at/
Also on:    postgresql.org/message-id/20190328222945.vllasskjkliibfq2@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: <20190328222945.vllasskjkliibfq2@hjp.at>
  References: <094bf875-5b49-8d3c-1fa3-97c07246b890@evolu-s.it> <082fdd45-a12b-161b-8386-70ee8528361e@aklaver.com> <514fb642-bba4-7a14-b412-d953f1b8b7e7@evolu-s.it> <3f88c83d-23b0-537f-8325-5b1d19ca77f7@aklaver.com> <7eb4fb29-73c5-c069-572a-621afe121564@evolu-s.it> <20190328222945.vllasskjkliibfq2@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