By default the Data Provider sends plain text passwords over the network to ASE for authentication. You can use this feature to change the default behavior and encrypt passwords before they are sent over the network. Password encryption is enabled by setting the connection property EncryptPassword.
To encrypt the password for your application, set the connection
property EncryptPassword to “1
”.�For
example:�
AseConnection.ConnectionString= ”Data Source=MANGO;" + "Port = 5000;" + "Database=pubs2;" + "UID=sa;" + "PWD=sapass;" + "EncryptPassword=1;”;
In this example, sapass
is
not sent over the wire until a login is negotiated and then the
password is encrypted and sent.