The first step is to precompile the application, which will build your C# source code into an assembly. If you opt-in to a non-updatable UI, your ASPX and ASCX markup will be built into assembly DLLs as well. Without this anyone who has direct access to
the server can not only view your source code but can also modify it.
Member
58 Points
122 Posts
Preventing theft of my web-application installed in LAN of client computer
Jun 04, 2014 08:06 AM|saurav gautam|LINK
I have made a web-application for a company. It uses SQL server at back end and it is coded in ASP_C#.net
Now i will have to install the software in the client's LAN. Such that all the departments of the company can use the software.
And i am worried if somebody in that company will steal my source-code.
How can i make the source code invisible (i.e. generate object code that cannot be decompiled)
c asp.net
All-Star
37441 Points
9076 Posts
Re: Preventing theft of my web-application installed in LAN of client computer
Jun 04, 2014 08:10 AM|AidyF|LINK
Google for obfuscation tools. They won't stop the code being decompiled, but they'll make it harder to gety any sense from the code.
c asp.net
Member
80 Points
22 Posts
ASPInsiders
MVP
Re: Preventing theft of my web-application installed in LAN of client computer
Jun 05, 2014 04:33 AM|balassy|LINK
The first step is to precompile the application, which will build your C# source code into an assembly. If you opt-in to a non-updatable UI, your ASPX and ASCX markup will be built into assembly DLLs as well. Without this anyone who has direct access to the server can not only view your source code but can also modify it.
This whitepaper may help you: http://msdn.microsoft.com/en-us/library/vstudio/bb398860(v=vs.100).aspx
After you have .NET assemblies, the next step could be to obfuscate them which makes decompilation much more difficult.
Hope this helps,
- György
c asp.net obfuscation
Microsoft Regional Director, ASP.NET/IIS MVP and ASPInsider
http://gyorgybalassy.wordpress.com