From: | Bruce Momjian <bruce(at)momjian(dot)us> |
---|---|
To: | Shane Ambler <pgsql(at)007Marketing(dot)com> |
Cc: | Michael Schmidt <michaelmschmidt(at)msn(dot)com>, PostgreSQL General <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: Password issue revisited |
Date: | 2007-02-20 14:49:00 |
Message-ID: | 200702201449.l1KEn0r21849@momjian.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-docs pgsql-general |
Added to TODO for Win32:
o Check .pgpass file permissions
---------------------------------------------------------------------------
Shane Ambler wrote:
> Michael Schmidt wrote:
> > Fellow PostgreSQL fans,
>
> > 1. I don't see that this would pose a major security risk. In
> > fact, in applications where the user enters the password for each
> > session, the password need never be saved to disk, which seems a
> > definite security advantage. Some folks have noted that .pgpass is
> > a plain text file, hence it could be vulnerable.
>
> Yes it is a plain text file but if you want to use it then you need to
> ensure the security is sufficient on the file or it won't be used.
>
> As per the manual -
>
> > The permissions on .pgpass must disallow any access to world or
> group; > achieve this by the command chmod 0600 ~/.pgpass. If the
> permissions
> > are less strict than this, the file will be ignored. (The file
> > permissions are not currently checked on Microsoft Windows, however.)
>
>
> So this security feature should be something that gets added to the
> windows version. But otherwise the security of the user's account that
> has a .pgpass file is the decider on whether it is vulnerable.
>
>
> --
>
> Shane Ambler
> pgSQL(at)007Marketing(dot)com
>
> Get Sheeky @ http://Sheeky.Biz
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Have you searched our list archives?
>
> http://archives.postgresql.org/
--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://www.enterprisedb.com
+ If your life is a hard drive, Christ can be your backup. +
From | Date | Subject | |
---|---|---|---|
Next Message | Magnus Hagander | 2007-02-20 15:05:07 | Re: Password issue revisited |
Previous Message | Bruce Momjian | 2007-02-20 03:47:23 | Re: BUG #2913: Subscript on multidimensional array yields no value |
From | Date | Subject | |
---|---|---|---|
Next Message | Ian Harding | 2007-02-20 14:51:47 | Re: indexes across multiple tables |
Previous Message | Adam Rich | 2007-02-20 14:46:52 | Re: boolean operator on interval producing strange results |