so I have 2 question about security.
Im using visual studio 2010 (vb.net) and so far I have published only .exe files ('cause that way only one file needed to run the program)
Now I'm wondering how to increase programs security...
1) How can I block decomplining? or I mean I tried today decompliler I saw my project's source pretty accuracy. Is there way to hide "main functions", strings, saved settings?
2) Safe login system? Again with decompiler I was able to see all my sql server's data (server, id, name, pass, everything). So if I publish it this way everyone are able to edit it.. How can I fix this?
I quess the exe file may be the problem? Is there any other way to publish single file projects from visual studio? or what should I do?
All suggestions are welcome






