Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Source Code Protection

When you compile a program to publish with Visual Studio 2010, does that have any advanced methods to keep your program being decompiled to source code? Are there any methods you would use to encrypt yoursource code before compiling?

like image 735
Jeff Yeager Avatar asked Jun 12 '26 21:06

Jeff Yeager


2 Answers

Visual Studio by default does not apply any form of enhancements nor modify the compiled binaries other than chosen optimization setting. There are however protectors you can make use of. Remember UPX? Well upx is still a very viable method of encrypting your binaries altough of course it all depends on your needs.

like image 72
user583619 Avatar answered Jun 16 '26 14:06

user583619


No, there's really no way to prevent a managed assembly from being decompiled back into source code. The best you can hope for is obfuscation, which can do quite a good job of making the decompiled code hard to understand.

like image 39
lesscode Avatar answered Jun 16 '26 13:06

lesscode