Re: password leak in mylog thru win odbc

Поиск
Список
Период
Сортировка
От Chris Gamache
Тема Re: password leak in mylog thru win odbc
Дата
Msg-id 20030319153124.68964.qmail@web13801.mail.yahoo.com
обсуждение исходный текст
Ответ на password leak in mylog thru win odbc  ("pg" <pg@newhonest.com>)
Список pgsql-odbc
Several suggestions:

Use a different authentication method like Ident... That won't work if you've
already implimented a widespread password authentication system, though.

Modify the code to the ODBC driver to obscure the password from logs. That
might make it hard to troubleshoot authentication issues, though. It also won't
help if you're distributing this application. All the user would have to do is
to install a different pgodbc driver without the obscured logfiles, and you're
back to square one.

Upgrade to Windows 2000/XP and put the logfile in a directory with write-only
access for the system account that ODBC runs under (system I think... don't
take my word for it, though) and only allow reading by administrator or your
super user account... That won't help if you're distributing an application.

Ditch ODBC altogether and use pgExpress from www.vitavoom.com. It uses libpq
for native access to PostgreSQL. There are no hooks for the user to get into
there, AFAIK...

HTH,

CG


--- pg <pg@newhonest.com> wrote:
> I'm using Win ME. I'm trying to write a program in VB and connects to PG
> with super-user account (or with a "connection user" with many rights). The
> detail user rights are embeded in the VB program for detail control, so that
> no one should know the connection user. Users only knows their own password
> for that VB program, so their password is only useful with that VB program.
>
> But if a user enable the mylog in odbc, the password (pwd) shows up there in
> mylogxxxxx.
>
> What can I do to hide the password?
>
> -Jason
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster


__________________________________________________
Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
http://platinum.yahoo.com

В списке pgsql-odbc по дате отправления:

Предыдущее
От: "Nisha Joseph"
Дата:
Сообщение: Size limit for bytea type?
Следующее
От: sperber@informatik.uni-tuebingen.de (Michael Sperber [Mr. Preprocessor])
Дата:
Сообщение: .ini parsing