Re: password encyption - Mailing list pgadmin-support

From Ivan Horvath
Subject Re: password encyption
Date
Msg-id 000401c1cf21$a5b3a9d0$3301a8c0@ivan
Whole thread Raw
In response to Re: password encyption  (Dave Page <dpage@vale-housing.co.uk>)
List pgadmin-support
Dave,
 
thank you the documentation link, i modified teh pg_hba.conf file and i can connect from pgadmin tool.
but i have a problem to connect to the database from php script.
here is my script:
 
$conn = pg_Connect("host=192.168.1.30 port=5432 dbname=PMS2500 user=pms_ivan password=ivan");
i tried also:
$conn = pg_Connect("host=192.168.1.30 port=5432 dbname=PMS2500 user=pms_ivan password=md5('ivan')");
echo $conn;
it is not working, what encryption method i have to use?
 
Ivan
----- Original Message -----
From: Dave Page
Sent: Wednesday, March 13, 2002 9:56 PM
Subject: RE: [pgadmin-support] password encyption

I have just written a doc about the encrypted passwords which will be in the helpfile for the next release of pgAdmin, and can be found at http://www.pgadmin.org/pgadmin2.php?ContentID=19.
 
SSH connections are slightly different to the encrypted passwords - they encrypt the entire session over the wire, whilst the passwords are encrypted over the wire *and* in pg_shadow. pgAdmin with SSH is outlined here: http://www.pgadmin.org/pgadmin2.php?ContentID=11
 
For the best security,  why not use both?
 
Regards, Dave.
-----Original Message-----
From: Peter E. Chen [mailto:pchen3@jhmi.edu]
Sent: 13 March 2002 16:09
To: Ivan Horvath
Cc: pgadmin-support@postgresql.org
Subject: Re: [pgadmin-support] password encyption

Ivan,
 
I tunnel my pgAdmin connection through an SSH connection to provide security for pgAdmin logins.  You can use the standard SSH port forwarding feature to have your pgAdmin connect to PostgreSQL.  I believe there is now documentation on how to use SSH port forwarding with pgAdmin. 
 
I hope this helps.
 
Peter
-----Original Message-----
From: pgadmin-support-owner@postgresql.org [mailto:pgadmin-support-owner@postgresql.org]On Behalf Of Ivan Horvath
Sent: Wednesday, March 13, 2002 5:53 AM
To: pgadmin-support@postgresql.org
Subject: [pgadmin-support] password encyption

Hi All,
 
i created a user in pgadmin, specified a password of course. the user is created, but the password is encypted somehow., i cannot log in anymore!!!
please help me, what is the problem

Best Regards,

Iván Horváth
Chief Programmer

Alcatel NSD
PMS 2000 Product Team

H-1116, Budapest
Kondorfa u. 10.
Tel.: +36 1 209 9546
Fax.: +36 1 463 7271
Mobil: +36 30 257 0235
E-mail:
i.horvath@alco.co.hu
Check my Web Page

Anyone who has never made a mistake has never tried anything new.

/Albert Einstein/

pgadmin-support by date:

Previous
From: Dave Page
Date:
Subject: Re: Does not report ODBC installation correctly
Next
From: Dave Page
Date:
Subject: Re: password encyption