Re: Anonymized database dumps

Поиск
Список
Период
Сортировка
От hari.fuchs@gmail.com
Тема Re: Anonymized database dumps
Дата
Msg-id 87obrt7y5a.fsf@hf.protecting.net
обсуждение исходный текст
Ответ на Anonymized database dumps  (Janning Vygen <vygen@kicktipp.de>)
Ответы Re: Anonymized database dumps  (Marko Kreen <markokr@gmail.com>)
Список pgsql-general
Janning Vygen <vygen@kicktipp.de> writes:

> pgcrypto does not work for this scenario as far as i know.
>
> pgcrypto enables me to encrypt my data and let only a user with the
> right password (or key or whatever) decrypt it, right? So if i run it
> in a test environment without this password the application is broken.
>
> I still want to use these table columns in my test environment but
> instead of real email addresses i want addresses like
> random_number@example.org.
>
> You might be right that it is a good idea to additional encrypt this data.

Maybe you could change your application so that it doesn't access the
critical tables directly and instead define views for them which, based
on current_user, either do decryption or return randim strings.

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

Предыдущее
От: Sergey Konoplev
Дата:
Сообщение: Re: Multi server query
Следующее
От: John R Pierce
Дата:
Сообщение: Re: Multi server query