Re: SQL safe input?

Поиск
Список
Период
Сортировка
От Philip Hallstrom
Тема Re: SQL safe input?
Дата
Msg-id 20050826135636.T20018@wolf.pjkh.com
обсуждение исходный текст
Ответ на Re: SQL safe input?  (Bruno Wolff III <bruno@wolff.to>)
Ответы Prepare() Value  (<operationsengineer1@yahoo.com>)
Список pgsql-novice
>  cbraden <cbraden@douglasknight.com> wrote:
>> Folks,
>>
>> I would like to know how to prevent SQL attacks on a postgreSQL server.
>>
>> I know in mySQL you can put any input going to the DB through a filter
>> which encodes anything which would be malicious into mySQL safe data.  I
>> need something similar in postgreSQL.  Specifically as a php
>> implementation if it exists.

http://us2.php.net/manual/en/function.pg-escape-string.php

-philip

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

Предыдущее
От: Bruno Wolff III
Дата:
Сообщение: Re: SQL safe input?
Следующее
От:
Дата:
Сообщение: Re: SQL "OR" Problem