X-Original-To: pgadmin-support-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 85EAAD1B375; Tue, 13 Jul 2004 10:17:43 -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 27521-03; Tue, 13 Jul 2004 13:17:51 +0000 (GMT) Received: from nameit.healthnet.lu (nameit.healthnet.lu [158.64.36.4]) by svr1.postgresql.org (Postfix) with ESMTP id 07BA3D1B378; Tue, 13 Jul 2004 10:17:39 -0300 (ADT) Received: from control.dmz.chl.lu (drill.healthnet.lu [158.64.36.2]) by nameit.healthnet.lu (Postfix) with SMTP id 9C1A43E8171; Tue, 13 Jul 2004 15:17:48 +0200 (CEST) Received: from 172.20.1.24 by control.dmz.chl.lu (InterScan E-Mail VirusWall NT); Tue, 13 Jul 2004 15:19:52 +0200 Received: from localhost (pret050pco.inf.chl.lu [172.20.54.5]) by gwia.inf.chl.lu; Tue, 13 Jul 2004 15:17:29 +0200 Date: Tue, 13 Jul 2004 15:18:38 +0200 From: Daniel Struck To: Bruno Wolff III Cc: Sarah Tanembaum , pgsql-php@postgresql.org, pgsql-admin@postgresql.org, pgsql-hackers-win32@postgresql.org, pgadmin-support@postgresql.org, pgsql-sql@postgresql.org Subject: Re: [PHP] Secure DB Systems - How to Message-Id: <20040713151838.0004cb8e@localhost> In-Reply-To: <20040713123817.GB3710@wolff.to> References: <20040709152722.GA20935@wolff.to> <20040713113557.31e9d6dc@localhost> <20040713123817.GB3710@wolff.to> Organization: gwia.inf.chl.lu X-Mailer: Sylpheed version 0.9.11claws (GTK+ 1.2.10; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200407/49 X-Sequence-Number: 3162 > If you decrypt the data on the database, the sysadmin can see it. Hm, you are right. If one does decrypt the data on the database you have to= sent the password to postgresql and so a administrator of the database cou= ld easily grasb the password. So the only way to go, would be to perform en/decryption on the client side? > If you are willing to take that chance (e.g. if you primary concern is > some third party getting a snapshot of the DB), then you can do lots of > things. I wonder now; if somebody could achieve to get a snapshot of the database, = they could also be able to get the log-file of postgresql. So one would also have to make attention that the information like sql stat= ements don't leak that way. Are there other places where this kind of information could leak? Greetings, Daniel Struck --=20 Retrovirology Laboratory Luxembourg Centre Hospitalier de Luxembourg 4, rue E. Barbl=E9 L-1210 Luxembourg phone: +352-44116105 fax: +352-44116113 web: http://www.retrovirology.lu e-mail: struck.d@retrovirology.lu