Last post Feb 09, 2012 06:18 AM by pizzamaker74
Jan 23, 2012 11:41 PM|pizzamaker74|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 03:22 AM|sivilian|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 05:01 AM|pizzamaker74|LINK
Yes, I'm worried about code being stolen.
Are there any good examples anywhere of how to protect the code?
Feb 01, 2012 04:04 AM|necro_mancer|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 02:08 AM|kctt|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 05:19 AM|pizzamaker74|LINK
I'm concerned about access to the site internally and decompilers.
Feb 09, 2012 06:18 AM|pizzamaker74|LINK