I have a desktop app, that send e-mail, using remote smtp-server. So in code I have smth like this:
string userName = "Alex";
string pass = "123456";
sendEmail(userName, pass);
Anyone, who reverse my app will have access to my mail-server. I wonder, is there any solutions to protect sensitive data (userName, pass) from reversing? Without obfuscating.
Thanks,
Alex.
Move your SMTP credentials and other sensitive data to app.config and make use of section encryption.