Re: HIPPA (was Re: Anyone know ...)

Поиск
Список
Период
Сортировка
От Kenneth Downs
Тема Re: HIPPA (was Re: Anyone know ...)
Дата
Msg-id 45F1AD1B.7000602@secdat.com
обсуждение исходный текст
Ответ на Re: HIPPA (was Re: Anyone know ...)  (Kevin Hunter <hunteke@earlham.edu>)
Список pgsql-general
Kevin Hunter wrote:
>>> What about an SQL injection bug that allows for increased privileges?
>>
>> Um, web programming 101 is that you escape quotes on user-supplied
>> inputs.  That ends SQL injection.
>
> Pardon my naivete (I'm fairly new to web/DB programming) . . . is this
> the current standard method of protection from SQL injection?  How
> does it compare to SQL preparation with bound variables?

When you use SQL Prepared statements it is normal for the db driver to
escape out the variables for you.  Well at least it is in PHP, I can't
say for other systems.

>
> Kevin


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

Предыдущее
От: Richard Broersma Jr
Дата:
Сообщение: Re: Sw to generate ER model
Следующее
От: Scott Marlowe
Дата:
Сообщение: Re: "oracle to postgresql" conversion