Thread: ODBC Password Encryption - PostgreSQL ANSI(x64)
In Windows, please confirm that when using special characters within a password string, the password stored is "mangled" when saving the string under the ODBC.INI datasource in the registry.
[HKEY_CURRENT_USER\Software\ODBC\ODBC.INI\
[HKEY_CURRENT_USER\Software\ODBC\ODBC.INI\
So to use a password in a .net app with an OdbcConnection, don't use the plain text password, instead use the ODBC.INI datasource saved mangled password.
Thank you,
Joe
Please post this to github https://github.com/postgresql-interfaces/psqlodbc
Dave Cramer
www.postgres.rocks
On Mon, 10 Mar 2025 at 08:54, Joseph Fisher <josephpfisher1@gmail.com> wrote:
In Windows, please confirm that when using special characters within a password string, the password stored is "mangled" when saving the string under the ODBC.INI datasource in the registry.
[HKEY_CURRENT_USER\Software\ODBC\ODBC.INI\So to use a password in a .net app with an OdbcConnection, don't use the plain text password, instead use the ODBC.INI datasource saved mangled password.Thank you,Joe