Re: Security - Mailing list pgsql-novice

From Jeff MacDonald
Subject Re: Security
Date
Msg-id Pine.BSF.4.21.0011071423050.11648-100000@rage.hub.org
Whole thread Raw
In response to Security  ("Luz Lopez" <viaris@hotmail.com>)
List pgsql-novice
in the pg_hba.conf instead of trust put crypt
for the hosts that you want to require a password.

jeff

On Tue, 7 Nov 2000, Luz Lopez wrote:

> Hi all,
>
> I have a Database and my interface is with PHP, but I hace problems,
> I can connect to a  Data Base using PHP with using login and password.  If I
> have an user with restricted privileges, how can I force this user to access
> with login and password, via WEB?
>
> I use pg_connect("host=localhost port=5432 user=wwwuser password=XXX
> dbname=YYY"); but if I use _connect("host=localhost port=5432 dbname=YYY");
> the program connect without problems a the Database, I believe that I have
> serius problme of security.
>
> I need your Help....
>
> Thanks in advanced,
> _________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
>
> Share information about yourself, create your own public profile at
> http://profiles.msn.com.
>

Jeff MacDonald,

-----------------------------------------------------
PostgreSQL Inc        | Hub.Org Networking Services
jeff@pgsql.com        | jeff@hub.org
www.pgsql.com        | www.hub.org
1-902-542-0713        | 1-902-542-3657
-----------------------------------------------------
Facsimile : 1 902 542 5386
IRC Nick  : bignose


pgsql-novice by date:

Previous
From: "Luz Lopez"
Date:
Subject: Security
Next
From: Chris Ryan
Date:
Subject: Re: Security