Re: prevent connection using pgpass.conf - Mailing list pgsql-general

From Joshua D. Drake
Subject Re: prevent connection using pgpass.conf
Date
Msg-id 1270052784.10455.4.camel@jd-desktop.unknown.charter.com
Whole thread Raw
In response to prevent connection using pgpass.conf  ("Christophe Dore" <c.dore@castsoftware.com>)
List pgsql-general
On Wed, 2010-03-31 at 17:32 +0200, Christophe Dore wrote:
> Hi
>
> We are building a solution using some dedicated postgresql servers (and
> dedicated C++ and Java apps). For security reasons, we'd like to prevent
> users to connect (from our apps at least) to those servers with
> passwords stored in files such as pgpass.conf.


>
>
> Is there any configuration that can be done, on the server side, or in
> the C++ and/or java application side, so to prevent such thing ?
>

Don't let your users log in to the Windows machine as users that have
access to those files.

Joshua D. Drake


--
PostgreSQL.org Major Contributor
Command Prompt, Inc: http://www.commandprompt.com/ - 503.667.4564
Consulting, Training, Support, Custom Development, Engineering
Respect is earned, not gained through arbitrary and repetitive use or Mr. or Sir.

pgsql-general by date:

Previous
From: "Christophe Dore"
Date:
Subject: prevent connection using pgpass.conf
Next
From: Raymond O'Donnell
Date:
Subject: Re: prevent connection using pgpass.conf