[Solved] SQL Connection without log steal [closed]


Since .NET Framework 2.0, there is a possibility of encrypting application configuration sections. However, it needs a bit of implementation.

Please refer to the following article.

https://msdn.microsoft.com/en-us/library/53tyfkaw(v=vs.110).aspx

Just another option… You can consider using “Integrated Security=SSPI” in your connection string. This will try to open connection to database with the user running your application main thread. However, this will require additional management on the SQL server side for permissions of the user but you won’t be providing any usernames or passwords in your connection string.

And a note… Although i partially agree with Roblll with the comment on research, sometimes people need advice for the concept. If concept is not there and you are lost, you cannot share a line of code right? I think stackoverflow is a great platform to ask and learn from replies. So keep on asking… Do your homework and don’t be shy! 🙂

Cheers

solved SQL Connection without log steal [closed]