Re: pie-in-sky idea: 'sensitive' function parameters

Поиск
Список
Период
Сортировка
От Chapman Flack
Тема Re: pie-in-sky idea: 'sensitive' function parameters
Дата
Msg-id 5ED16444.1060501@anastigmatix.net
обсуждение исходный текст
Ответ на Re: pie-in-sky idea: 'sensitive' function parameters  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On 05/29/20 15:26, Tom Lane wrote:

> all of the simpler cases I can think of: aside from the ALTER USER
> PASSWORD case, there's INSERT INTO accounts(..., creditcardnumber,
> ...) VALUES(..., $n, ...).  Neither one of those have a nearby UDF
> to control it with.

I was thinking incrementally ... something about UDFs only might
be quickish to do as a PoC. And is already useful, because if exposure
of a particular thing bothers you enough, you can make a UDF or P to
control it with.

But ultimately, if ALTER USER PASSWORD has sensitivity of
its parameter hardcoded in, and CREATE TABLE ACCOUNTS can declare
creditcardnumber SENSITIVE, then maybe those bits go out to the client
in the parameter Describe message, and come back in the Bind message,
without the user even necessarily thinking about it.

Regards,
-Chap



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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: pie-in-sky idea: 'sensitive' function parameters
Следующее
От: Robert Haas
Дата:
Сообщение: Re: Default gucs for EXPLAIN