pg.ddx.io  pgsql-php@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michelle Konzack <linux4michelle@freenet.de>
To: pgsql-php@postgresql.org
Subject: Re: postgreSQL web form; Security
Date: Sat, 19 Jul 2003 13:06:32 +0200
Message-ID: <3.0.6.16.20030719130632.0bf78806@pop3.01019freenet.de> (raw)
In-Reply-To: <001d01c34dd3$2fdf08d0$926bd9d9@clairvo>
References: <200307132144.02772.davileal@terra.es>
	<20030713200102.GA15127@wilbur.25thandClement.com>
	<200307142110.14069.davileal@terra.es>

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




view thread (4+ messages)

Message-ID: <3.0.6.16.20030719130632.0bf78806@pop3.01019freenet.de>
Permalink:  ../3.0.6.16.20030719130632.0bf78806@pop3.01019freenet.de/
Also on:    postgresql.org/message-id/3.0.6.16.20030719130632.0bf78806@pop3.01019freenet.de

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-php@postgresql.org
  Cc: linux4michelle@freenet.de
  Subject: Re: postgreSQL web form; Security
  In-Reply-To: <3.0.6.16.20030719130632.0bf78806@pop3.01019freenet.de>
  References: <200307132144.02772.davileal@terra.es> <20030713200102.GA15127@wilbur.25thandClement.com> <200307142110.14069.davileal@terra.es> <3.0.6.16.20030719130632.0bf78806@pop3.01019freenet.de>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox