Re: prevent connection using pgpass.conf

From: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
To: Christophe Dore <c(dot)dore(at)castsoftware(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: prevent connection using pgpass.conf
Date: 2010-03-31 16:26:24
Message-ID: 1270052784.10455.4.camel@jd-desktop.unknown.charter.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Carlo Stonebanks 2010-03-31 16:52:43 Windows build missing tcl "UNKNOWN" support
Previous Message Andreas Kretschmer 2010-03-31 15:33:59 Re: using gist index with dual-temporal timestamp values