Security of ODBC debug log file leaves something to be desired - Mailing list pgsql-odbc

From Tom Lane
Subject Security of ODBC debug log file leaves something to be desired
Date
Msg-id 24444.1112929224@sss.pgh.pa.us
Whole thread Raw
Responses Re: Security of ODBC debug log file leaves something to be desired
List pgsql-odbc
I got a complaint here
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=154126
pointing out that when you set debug=1, the generated log file
is world-readable by default, which doesn't seem like a good
idea when it may contain your password.  Also, since the name
of the file is pretty predictable, there is an opportunity
for a symlink redirection attack (though I doubt anything
really interesting could be accomplished that way).

Any thoughts about fixing this?  It's hard to believe no one
has pointed it out before, so I was wondering if there was some
good reason for doing it like this.

            regards, tom lane

pgsql-odbc by date:

Previous
From: "Philippe Lang"
Date:
Subject: MS Access & ODBC driver & Postgresql 8.01
Next
From: Mischa Sandberg
Date:
Subject: Re: Security of ODBC debug log file leaves something to be desired