In my WPF tool, there is database connection string like:
Server=myServerAddress;Database=myDataBase;User Id=abd;Password=xyz;
I give a exe file to users as interface. We don't allow user's Windows ID to have direct access to database. So the WPF tool can't use Windows authentication. The connection string in the WPF contains database username & password. If someone has knowledge, he can use some tools like ILSpy to de-compile the exe file and see the database connection string. I saw some tools can obfuscate exe files. But they are not free. We don't want to use them. Is there any other way to protect the database username & password when we provide a WPF exe file?