Re: SSL use
| From: | Bruno Wolff III | Date: | Sat, 23 Apr 2005 17:38:44 +0000 |
| Subject: | Re: SSL use | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-213725@lists.php.net to get a copy of this message | ||
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.