Re: php, postgres, ssl - Mailing list pgsql-php

From Martin A. Marques
Subject Re: php, postgres, ssl
Date
Msg-id 01032118385701.05822@math.unl.edu.ar
Whole thread Raw
In response to Re: php, postgres, ssl  ("Adam Lang" <aalang@rutgersinsurance.com>)
Responses Re: php, postgres, ssl  (Michael Fork <mfork@toledolink.com>)
Re: php, postgres, ssl  (Michael Fork <mfork@toledolink.com>)
List pgsql-php
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
-----------------------------------------------------------------

pgsql-php by date:

Previous
From: "Martin A. Marques"
Date:
Subject: Re: Forms and PHP
Next
From: "Adam Lang"
Date:
Subject: Re: Forms and PHP