Received: from localhost (maia-3.hub.org [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id AF76D9FB1DC for ; Mon, 23 Jul 2007 11:00:54 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-maia, port 10024) with ESMTP id 43259-02-8 for ; Mon, 23 Jul 2007 11:00:41 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.5 Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.230]) by postgresql.org (Postfix) with ESMTP id 327D49FB7C5 for ; Mon, 23 Jul 2007 10:59:19 -0300 (ADT) Received: by wr-out-0506.google.com with SMTP id 25so1003352wry for ; Mon, 23 Jul 2007 06:59:18 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; b=tXBKysLhzXftRb21fi3JoqeVFw+V0kUOPHZLW2gmuzFvemJzshpegt0XHAj+9e/CduyH88XbEN4r9vBtDyIITTFEewosKvCD/Rpp7ZMiXL0yMPXdFle8YeCdMLhZs8ObcNDyuyxdtnLzMyshpnvHHCn5txzYsQb5zOLdGF4fGpg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=UF61/h0QFpxeIwziQyfyjCZiWv+V+q8iQpP95OdyZo226kXrsWY/OwSdAiwnyyWmJgiDnGqZJjnfRUEodUnm9tMoWcELgVoMTFdbmVAvIOwI1CaujB9+UmkHJkm+unRaxIbBuv33yg8xPOVDgrM7Kv9cvvh3q1r+Hkhs75xI4Yg= Received: by 10.142.132.2 with SMTP id f2mr230030wfd.1185199157589; Mon, 23 Jul 2007 06:59:17 -0700 (PDT) Received: by 10.142.84.10 with HTTP; Mon, 23 Jul 2007 06:59:17 -0700 (PDT) Message-ID: Date: Mon, 23 Jul 2007 10:59:17 -0300 From: "Thiago Maluf" To: pgsql-admin@postgresql.org Subject: Disable access shell command in psql MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_126461_1371511.1185199157558" X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200707/243 X-Sequence-Number: 26224 ------=_Part_126461_1371511.1185199157558 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Hello to everyone, I have one database server with postgresql 8.1 and I discovered yesterday one security problem. When I access my server with thought psql I have the possibility execute command in my server using "\!" or write one file using "\e". I want disable these options in my server but I searched it and not found. Can someone help me, please ? very thanks, Thiago ---------------------------------------------------------------- THIAGO MALUF RESENDE Consultor Voip e Programador WEB (Voip Developer and Web Developer) Tel: +55 21 86042100 e-mail: malufrj@gmail.com ------=_Part_126461_1371511.1185199157558 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hello to everyone,
I have one database server with postgresql 8.1 and I discovered  yesterday  one  security problem.
When  I access my server with  thought psql I have the possibility execute command in my server using "\!" or write one file using "\e".
I want disable these options in my server but I searched it and not found.
Can someone help me, please ?
very thanks,
Thiago
----------------------------------------------------------------
THIAGO MALUF RESENDE
Consultor Voip e Programador WEB (Voip Developer and Web Developer)
Tel: +55 21 86042100
e-mail: malufrj@gmail.com ------=_Part_126461_1371511.1185199157558--