Re: Sql injection attacks

Поиск
Список
Период
Сортировка
От Mage
Тема Re: Sql injection attacks
Дата
Msg-id 41049FE3.1070600@mage.hu
обсуждение исходный текст
Ответ на Re: Sql injection attacks  (Bill Moran <wmoran@potentialtech.com>)
Ответы Re: Sql injection attacks
Список pgsql-general
Bill Moran wrote:

 >
 >
 >Simply put:
 >1) If the untrusted value is a string, using a proper escape sequence
should
 >   make it safe.
 >
 >
in pgsql (and mysql) you can escape almost everything.

update table set a = '5' is corrent, even is column a is integer type.
You can't escape the null value.

      Mage





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

Предыдущее
От: Greg Stark
Дата:
Сообщение: Re: Sql injection attacks
Следующее
От: "Magnus Hagander"
Дата:
Сообщение: Re: Sql injection attacks