Re: Postgres security issue - protecting datafiles

Поиск
Список
Период
Сортировка
От Tino Schwarze
Тема Re: Postgres security issue - protecting datafiles
Дата
Msg-id 20080604160316.GH23526@easy2.in-chemnitz.de
обсуждение исходный текст
Ответ на Postgres security issue - protecting datafiles  (zferentz@gmail.com)
Список pgsql-admin
On Mon, Jun 02, 2008 at 03:16:54PM -0700, zferentz@gmail.com wrote:

> I'd like to use postgres to store my secret data  in a way that only
> me (the DBA, owner of the table) can access the talbe while the root
> (system administrator) who installed and maintains the server - will
> not be able to see the data.
>
> Now, I think that "db authentication"  is simply not enough , because
> the administrator can copy the data files to his own machine (where he
> is the owner of the database).
>
> Is there a way to protect the data files, so even the "malicious
> administrator" cannot see the data ?

I suppose, you need to look into SELinux. That might give you the
infrastructure for such purposes, together with an encrypted file
system for DB space.

That's not something you can do via an application. As you already
noticed, anybody with access to the physical table data will be able to
copy it. Of course, you could encrypt the data stored in the table, but
then: where's the key for decryption?

Tino.

--
"What we resist, persists." (Zen saying)

www.craniosacralzentrum.de
www.forteego.de

В списке pgsql-admin по дате отправления:

Предыдущее
От: "Jonah H. Harris"
Дата:
Сообщение: Re: Postgres security issue - protecting datafiles
Следующее
От: Marcin Kasperski
Дата:
Сообщение: Re: Postgres security issue - protecting datafiles