2
Reply

C# + SQL Server 2000 + password in clear text problem

tobias.zimmergren

tobias.zimmergren

Dec 28 2004 5:43 AM
1.9k
I've got a Windows Application, that I use to communicate with a remote SQL Server, and whenever it makes a connection it will send the password and username in clear text. For a reference to the codesnippet, look here: http://paste.mine.nu/tmp/GetPaste.aspx?paste=109843912717&header=true Is there a way I can ensure that the connection is either encrypted or not sending the password or whatever? I need to distribute this client to people, and when I do, I don't want them to run around with a sniffer getting my SQL Server username and passwords =/ (I tried to sniff it myself, so I know it's sent in clear text)

Answers (2)