Re: postgres "on in the internet"

From: Daniel Martini <dmartini(at)uni-hohenheim(dot)de>
To: Paul Tillotson <pntil(at)shentel(dot)net>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: postgres "on in the internet"
Date: 2004-09-03 09:32:47
Message-ID: 1094203967.41383a3f63131@webmail.uni-hohenheim.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,

Citing Paul Tillotson <pntil(at)shentel(dot)net>:
> At my company we are looking at deploying clients for our client/server
> app outside our firewall, which will then require our postgres box to be
> internet-accessible.
>
> Does anyone out there have experience with this or recommended best
> practices?
> We have been looking at either
> (a) tunnelling everything over ssh, or

This, implementation of a VPN or using the builtin ssl-support in
postgresql is the way to go, because *everything* that goes through
the channel will be encrypted. With SSL you have the additional value
of being able to guarantee the identity of the server.
The information in the source code distribution in
src/backend/libpq/README.SSL
might prove useful to make your decision.

> (b) just making sure that users have "strong" passwords and
> requiring "md5" authentication in pg_hba.conf.

Too weak, IMHO. md5 is there to protect the password data stored
in the database, not the password transmission (someone already
mentioned tcp replay attacks).

Regards,
Daniel

Browse pgsql-general by date

  From Date Subject
Next Message Po Eddie Lim 2004-09-03 09:48:38 postgres "on in the internet"
Previous Message Gaetano Mendola 2004-09-03 08:54:02 Re: Gentoo for production DB server?