X-Original-To: pgsql-php-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 0824A52844 for ; Fri, 27 May 2005 13:33:20 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 44975-08 for ; Fri, 27 May 2005 16:33:16 +0000 (GMT) Received: from basm.cerias.purdue.edu (basm.cerias.purdue.edu [128.10.243.21]) by svr1.postgresql.org (Postfix) with ESMTP id 117FF52820 for ; Fri, 27 May 2005 13:33:12 -0300 (ADT) Received: from [128.10.242.60] (lv426.cerias.purdue.edu [128.10.242.60]) by basm.cerias.purdue.edu (8.13.4/8.13.4/PURDUE_CERIAS-2.0) with ESMTP id j4RGXAAa017973; Fri, 27 May 2005 11:33:10 -0500 (EST) Message-ID: <42974BDD.8040807@cerias.purdue.edu> Date: Fri, 27 May 2005 11:33:33 -0500 From: Ed Finkler User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Volkan YAZICI Cc: pgsql-php@postgresql.org Subject: Re: Effectiveness of pg_escape_string at blocking SQL injection References: <4297435C.20605@cerias.purdue.edu> <7104a737050527092541f9889f@mail.gmail.com> In-Reply-To: <7104a737050527092541f9889f@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV version 0.85.1, clamav-milter version 0.85 on basm.cerias.purdue.edu X-Virus-Status: Clean X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests= X-Spam-Level: X-Archive-Number: 200505/39 X-Sequence-Number: 3153 Volkan YAZICI wrote: [snip] > If you think, they're not enough for SQL-Injection attacks, I'd advice > you to patch libpq code, not PHP. This is very helpful information. My initial thinking is that this wouldn't be effective at catching SQL injections, but I'll need to bounce this off a few other folks. Thanks! -- Ed Finkler Web and Security Archive Administrator CERIAS - Purdue University http://www.cerias.purdue.edu/ v: 765.496.6762 f: 764.496.3181