Re: postgreSQL web form; Security

Поиск
Список
Период
Сортировка
От Michelle Konzack
Тема Re: postgreSQL web form; Security
Дата
Msg-id 3.0.6.16.20030719130632.0bf78806@pop3.01019freenet.de
обсуждение исходный текст
Ответ на Re: postgreSQL web form; Security  ("Adrian Tineo" <adriantineo@softhome.net>)
Список pgsql-php
Hello Adrian,


Am 10:53 2003-07-19 +0200 hat Adrian Tineo geschrieben:

>What I do is verify all user input ($_GET and $_POST array) and not allow
>certain characters, most importantly ";". If they can't put a ";" they
can't
>close a query and they can't do SQL injection.

How do you do that ?

With a Java-Script in the WebPage ?
or
On the Server-Side ?

I think, we must use all two, the first one to prevent to much work
on the Server-Side and the second one if someone hack the input field
or use Commandline to access the URL.

Hmm, have no clue how to check it with Java-Script...

Does anyone have a small GPL'ed code for it ?
(I do not code Java-Script)

Thanks
Michelle


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

Предыдущее
От: "Adrian Tineo"
Дата:
Сообщение: Re: postgreSQL web form; Security
Следующее
От: "Christopher Kings-Lynne"
Дата:
Сообщение: Re: phpPgAdmin 2.4.2