X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 44301DA261 for ; Wed, 5 Oct 2005 14:50:10 -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 58822-09 for ; Wed, 5 Oct 2005 17:50:03 +0000 (GMT) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by svr1.postgresql.org (Postfix) with ESMTP id E764FDA24E for ; Wed, 5 Oct 2005 14:50:02 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.1/8.13.1) with ESMTP id j95Ho34U000847 for ; Wed, 5 Oct 2005 13:50:03 -0400 (EDT) To: pgsql-odbc@postgresql.org Subject: Insecurity of ODBC debug logging files Date: Wed, 05 Oct 2005 13:50:03 -0400 Message-ID: <846.1128534603@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.006 required=5 tests=[AWL=0.006] X-Spam-Level: X-Archive-Number: 200510/13 X-Sequence-Number: 6115 I have a gripe here: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=154126 about the fact that ODBC is willing to store passwords into debug log files that aren't secure. Anyone want to do something about it? Offhand it seems like simply omitting the password from the log wouldn't be a bad idea. But even then, a log file will frequently contain sensitive data (eg, credit card numbers appearing in INSERT statements). Seems to me that there should also be some care taken to make the log file not world-readable. regards, tom lane