pg.ddx.io pgsql-odbc@postgresql.org mailing list archivehelp / color / mirror / Atom feed
Insecurity of ODBC debug logging files 3+ messages / 3 participants [nested] [flat]
* Insecurity of ODBC debug logging files @ 2005-10-05 17:50 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 3+ messages in thread From: Tom Lane @ 2005-10-05 17:50 UTC (permalink / raw) To: pgsql-odbc 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 ^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: Insecurity of ODBC debug logging files @ 2005-10-05 19:08 Dave Page <dpage@vale-housing.co.uk> 0 siblings, 1 reply; 3+ messages in thread From: Dave Page @ 2005-10-05 19:08 UTC (permalink / raw) To: Tom Lane <tgl@sss.pgh.pa.us>; pgsql-odbc > -----Original Message----- > From: pgsql-odbc-owner@postgresql.org > [mailto:pgsql-odbc-owner@postgresql.org] On Behalf Of Tom Lane > Sent: 05 October 2005 18:50 > To: pgsql-odbc@postgresql.org > Subject: [ODBC] Insecurity of ODBC debug logging files > > 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. That was fixed almost 2.5 years ago by Hiroshi. I just check my own logs and it does mask the passwords appropriately. > 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. I'll have a look at writing them with mode 600 on *nix. On Win9x and NT based systems with FAT partitions there's nothing we can do of course. I'd rather not make the filenames unpredicatable though as that'll make it difficult for us to tell users how to track down the right debug log. Regards, Dave. ^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: Insecurity of ODBC debug logging files @ 2005-10-06 04:19 Lothar Behrens <lothar.behrens@lollisoft.de> parent: Dave Page <dpage@vale-housing.co.uk> 0 siblings, 0 replies; 3+ messages in thread From: Lothar Behrens @ 2005-10-06 04:19 UTC (permalink / raw) To: pgsql-odbc Am 05.10.2005 um 21:08 schrieb Dave Page: >> 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. > > I'll have a look at writing them with mode 600 on *nix. On Win9x and NT > based systems with FAT partitions there's nothing we can do of course. > I'd rather not make the filenames unpredicatable though as that'll make > it difficult for us to tell users how to track down the right debug > log. > Hi, what about a special database type like sensitive or an encrypted column type ? If the ODBC driver comes across of such a column, it could be masked out as well. Regards, Lothar > Regards, Dave. > > ---------------------------(end of > broadcast)--------------------------- > TIP 1: if posting/reading through Usenet, please send an appropriate > subscribe-nomail command to majordomo@postgresql.org so that > your > message can get through to the mailing list cleanly > > -- Lothar Behrens | Rapid Prototyping ... Rosmarinstr 3 | 40235 Düsseldorf | www.lollisoft.de ^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2005-10-06 04:19 UTC | newest] Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2005-10-05 17:50 Insecurity of ODBC debug logging files Tom Lane <tgl@sss.pgh.pa.us> 2005-10-05 19:08 Re: Insecurity of ODBC debug logging files Dave Page <dpage@vale-housing.co.uk> 2005-10-06 04:19 ` Lothar Behrens <lothar.behrens@lollisoft.de>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox