Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Feb 09, 2012 05:18 AM by pizzamaker74
Jan 23, 2012 10:41 PM|LINK
Hi. I would like to find out a simple way to encrypt my published code so that it cannot be read by any type of source code determining software which can decompile my source code to its design-time state.
What is the easiest way to do this?
I see 'Enable strong naming on precompiled assemblies' option on publishing. Is this the (only) way? Any examples of an easy way to get started?
Please help. Thanks.
Jan 24, 2012 02:22 AM|LINK
I do not think that this is a big problem for web applications, unless you are worried about you ISP stealing your code. Remember, web application store the code on the server, where no user browsing your site have access.
There is a technique which obfuscates your code: See here:
hope this helps,
Jan 31, 2012 04:01 AM|LINK
Yes, I'm worried about code being stolen.
Are there any good examples anywhere of how to protect the code?
Feb 01, 2012 03:04 AM|LINK
Even though you have used the obfuscation method, it will not block the .aspx file. However, if you do not give your code-behind (.cs or .vb file) to someone else, no one can easily steal your code.
Please do not worry :)
Feb 02, 2012 01:08 AM|LINK
Precompile website to dll file is the common method.
Your hosting provider won't bother to steal your code.
If website is critical, you can host on a vps or dedicated server which only you have access.
Feb 02, 2012 04:19 AM|LINK
I'm concerned about access to the site internally and decompilers.
Feb 09, 2012 05:18 AM|LINK