C# Program is using my Windows AD authentication to connect to my database instead of the connection string I coded into it. Why? -
the title says all, i'll provide little background.
i working on adding password hashing program written team member rather departed world. have of original source, , have made appropriate changes.
the issue arises when, after looking @ active connections on database, connection making under windows activate directory username, rather connection string give sqlconnection().
i not traditionally c# programmer, language easy pick on. more accustomed c#'s particular ins , outs, can assure i'm connecting through connection string passed sqlconnection()?
this important since people not me , have no authorization database not going able validate db stored usernames + password without using connection string.
edit: current connection string follows:
user id=[uid];password=[password];server=[server];trusted_connection=yes;database=[dbname];connection timeout=30"
trusted_connection
alias integrated security
, means "use windows account". remove connection string.
Comments
Post a Comment