pg.ddx.io pgsql-odbc@postgresql.org mailing list archive
help / color / mirror / Atom feedfyi: possible security bug linking from MS Access
2+ messages / 2 participants
[nested] [flat]
* fyi: possible security bug linking from MS Access
@ 2003-11-17 20:28 Fred Parkinson <FredP@abag.ca.gov>
0 siblings, 1 reply; 2+ messages in thread
From: Fred Parkinson @ 2003-11-17 20:28 UTC (permalink / raw)
To: pgsql-odbc
I am using ms access (XP, aka 2002) to link to a postgres database with
odbc driver 7.02.00.05 and using the ms access facilities
File>Get external data>link tables>ODBC databases().
If I start my app the normal way I am asked to provide a postgres user
and password.
However, if i start Access with the shift key down, so my startup form
doesn't open, delete my table links and relink, I am never asked for my
postgres user and password yet am successfully linked to the postgres
tables and my app behaves normally. I simply open the startup form and
I am in without needing the postgres user and password.
Fred Parkinson
Grand Canyon Software
510-536-6063
fred@fredrated.com
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: fyi: possible security bug linking from MS Access
@ 2003-11-17 21:42 Oliver Elphick <olly@lfix.co.uk>
parent: Fred Parkinson <FredP@abag.ca.gov>
0 siblings, 0 replies; 2+ messages in thread
From: Oliver Elphick @ 2003-11-17 21:42 UTC (permalink / raw)
To: Fred Parkinson <FredP@abag.ca.gov>; +Cc: pgsql-odbc
On Mon, 2003-11-17 at 20:28, Fred Parkinson wrote:
> I am using ms access (XP, aka 2002) to link to a postgres database with
> odbc driver 7.02.00.05 and using the ms access facilities
> File>Get external data>link tables>ODBC databases().
>
> If I start my app the normal way I am asked to provide a postgres user
> and password.
>
> However, if i start Access with the shift key down, so my startup form
> doesn't open, delete my table links and relink, I am never asked for my
> postgres user and password yet am successfully linked to the postgres
> tables and my app behaves normally. I simply open the startup form and
> I am in without needing the postgres user and password.
It sounds as if the server is set to allow open access using "trust"
authentication. The relevant file on the server is $PGDATA/pg_hba.conf;
read the chapter on client authentication in the PostgreSQL manuals.
--
Oliver Elphick Oliver.Elphick@lfix.co.uk
Isle of Wight, UK http://www.lfix.co.uk/oliver
GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839 932A 614D 4C34 3E1D 0C1C
========================================
"For by grace are ye saved through faith; and that not
of yourselves. It is the gift of God; not of works,
lest any man should boast." Ephesians 2:8,9
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2003-11-17 21:42 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2003-11-17 20:28 fyi: possible security bug linking from MS Access Fred Parkinson <FredP@abag.ca.gov>
2003-11-17 21:42 ` Oliver Elphick <olly@lfix.co.uk>
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