I am developing a .NET Windows application and I need to make requests to a SQL Server instance. How do I secure the authentication data in my code in case someone decompiles my application?
I know there are ways to encrypt the connection string, but if someone decompiles the application, they gain access to the encryption/decryption algorithm and can extract the string.
Currently I’m using a Base64 encryption, but as I said, the customer can simply run my decrypt algorithm to get the plain text.