Posted by Bruno Wolff III on 04/23/05 20:38
On Fri, Apr 22, 2005 at 16:38:29 -0400,
"ruel.cima" <ruel.cima@facinf.uho.edu.cu> wrote:
> hi,
>
> im handling some important information that needs to be stored in my
> postgresql database via a php script. i´ve been reading the mails sent on
> this mailing list on SSL use. my postgresql server allows SSL connections
> but im not sure how to make use of this.id like to know more about ssl and
> how to take advantage of its security features. any references?
>
> from my php script, do i need to make a special connection to the database
> or is the same e.g pg_connect(host= localhost dbname=test user=p
> password=p)?
If postgres is running on the same machine as php there isn't much point
in using encryption of the connection. You are probably better off using
domain sockets instead of a network connection in this case.
[Back to original message]
|