Password encryption

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for PostgreSQL
Post Reply
kusskedp
Posts: 1
Joined: Sat 06 Nov 2004 00:23
Location: USA

Password encryption

Post by kusskedp » Sat 06 Nov 2004 00:27

Does anyone know how to formulate the connection parameter for Password when MD5 encryption is required by a PGSQL server?

Yuri
Posts: 140
Joined: Mon 08 Nov 2004 12:07

Password encryption

Post by Yuri » Mon 08 Nov 2004 12:32

You cannot set authentication method at client side
as it sets on PostgreSql server in pg_hba.conf file by server administrator,
see http://www.postgresql.org/docs/7.4/stat ... G-HBA-CONF
For each user PostgreSQLDirect .NET uses automatically method of encryption that
specified for this user in pg_hba.conf file.

Guest

Post by Guest » Mon 08 Nov 2004 18:01

Thanks for your help.

I was wondering if it would be necessary to use some kind of MD5 hashing algorithm when defining the password in VB code, but after further testing, it appears as though the PgSqlConnection object handles this.

Post Reply