C# Security Concern

clearz

Member
Joined
Jul 21, 2003
Messages
22
Hi,

Im just after downloading a program called exemplar.exe it will decompile my c# programs right back into source code. This is a great security concern for me. Is there a way to stop this from been able to be done (Or at least so easily).

Thanks
John Cleary
 
Theres a few obfuscators on the market that should make it very difficult to decompile IL.
Ive tried the Remotesoft obfuscator before. Have a search on Google for others though.
 
Youre fighting a losing battle. Unless your application has some spectacular algorithm implemented within it you shouldnt worry about whos going to be decompiling your application, because frankly no one cares what your source looks like. Its way too easy to reimplement whatever youve programmed in .NET within hours.
 
I guess I should also mention that what Derek said is true no matter what language youre using. People will always find ways to look at your source code if they really want to. Its not really an issue at all with business applications, but it is with games, and is one of the reasons why its near impossible to prevent people from programming game hacks.
 
You can get raw assembly from standard EXE files, but no source. Even if you know assembler, the assembly that is created from C++ code is probably very optimized and so not very readable unless you are an uber assembler-guru. You can very very easily retrieve source (in any .NET language) from the IL inside the assembly. The IL is sort of like assembler in that it uses op-codes in the form of bytes, but the op-codes are directly translated from .NET source, and are generally very close.
 
Back
Top