Re: PG Encryption / pg_read_file

Поиск
Список
Период
Сортировка
От Shreeyansh Dba
Тема Re: PG Encryption / pg_read_file
Дата
Msg-id CAGDYbUOjq0bT3EZ1oVH7wm94SHHV1U-_Wx1TYnDDKA0EqTmjKA@mail.gmail.com
обсуждение исходный текст
Ответ на PG Encryption / pg_read_file  ("Anjul Tyagi" <anjul@ibosstech-us.com>)
Список pgsql-admin
Hi Anjul,

I think you can use additional contrib module file_fdw to access the files.

Go through this below link.

https://www.postgresql.org/docs/current/file-fdw.html



On Tue, Dec 11, 2018 at 3:06 PM Anjul Tyagi <anjul@ibosstech-us.com> wrote:
Hi Admin,

we are working on the PG Encryption using pgCrypto. We are planing to use the PGP public and private key for encryption. However to secure the key we are not using the keys directly in the SQL Query. We are planning to use the pg_read_file function, for that. However we have noticed only super user can call that function. 

Can you please suggest is there any alternative for pg_read_file function to call non super user or any other alternative to secure the key. 

 
 
 

Regards,

Anjul TYAGI

 

ü Go Green


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

Предыдущее
От: Achilleas Mantzios
Дата:
Сообщение: Re: Pg logical replication
Следующее
От: soumitra bhandary
Дата:
Сообщение: Pg_restore failing due to data inconsistency in dump file