From: Martin A. Marques <martin@math.unl.edu.ar>
To: Adam Lang <aalang@rutgersinsurance.com>
To: pgsql-php@postgresql.org
Subject: Re: php, postgres, ssl
Date: Wed, 21 Mar 2001 18:38:57 -0300
Message-ID: <01032118385701.05822@math.unl.edu.ar> (raw)
In-Reply-To: <021101c0b24e$a0b53fc0$330a0a0a@rutgersinsurance.com>
References: <01032018433400.01347@math.unl.edu.ar>
<01032117414402.05421@math.unl.edu.ar>
<021101c0b24e$a0b53fc0$330a0a0a@rutgersinsurance.com>
El Mié 21 Mar 2001 18:33, Adam Lang escribió:
> Correct, all it does is connect straight to the database. It doesn't have
> anything to involve encryption... it doesn't care. So, you'll probably
> need to secure the path yourself, ie IPSEC.
>
> Someone else may have a better idea, but this is all I can think of.
> Typically though, you shouldn't have PHP connect to a database over a
> connection that is insecure/public.
>
> Any reason this is a concern?
Well, I thought about this, because I was trying to build something like it.
A web server, and a database server, seperated! So I thought, if Postgres
accepts hostssl connections (if compiled with ssl support), why doesn't PHP
use this powerfull feature?
Would it be difficult to build a pg_connectssl function in PHP that would do
this?
Saludos... :-)
--
System Administration: It's a dirty job,
but someone told me I had to do it.
-----------------------------------------------------------------
Martín Marqués email: martin@math.unl.edu.ar
Santa Fe - Argentina http://math.unl.edu.ar/~martin/
Administrador de sistemas en math.unl.edu.ar
-----------------------------------------------------------------
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-php@postgresql.org
Cc: martin@math.unl.edu.ar, aalang@rutgersinsurance.com
Subject: Re: php, postgres, ssl
In-Reply-To: <01032118385701.05822@math.unl.edu.ar>
References: <01032018433400.01347@math.unl.edu.ar> <01032117414402.05421@math.unl.edu.ar> <021101c0b24e$a0b53fc0$330a0a0a@rutgersinsurance.com> <01032118385701.05822@math.unl.edu.ar>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
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