Re: Generating unique session ids

Поиск
Список
Период
Сортировка
От Rodrigo Gonzalez
Тема Re: Generating unique session ids
Дата
Msg-id 44C8C98B.7090709@gmail.com
обсуждение исходный текст
Ответ на Re: Generating unique session ids  (Alvaro Herrera <alvherre@commandprompt.com>)
Список pgsql-general
I'm not an expert as you, but what about a small table where just one
user can read and create the function with this same user and definer
security?

Excuse if I say something stupid

Alvaro Herrera wrote:
> Tom Lane wrote:
>
>
>>> * Any database user is most of the time able to read function
>>> bodies, so anybody who is able co connect to your database will be
>>> able to get your 'secret_salt' and then predict session id's.
>>>
>> Yeah, it's not clear where to hide the secret.
>>
>
> In a memfrob'ed (or something better probably) area in a C function?
>
>


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

Предыдущее
От: Markus Schiltknecht
Дата:
Сообщение: Re: Database Oid from SPI
Следующее
От: Tomasz Ostrowski
Дата:
Сообщение: Re: Generating unique session ids