balexandre
balexandre

Reputation: 75083

How can we protect our MVC2 code?

In a normal ASP.NET Website there is a Web Deployment Project that we can use to pre-compile our entire website and then we can safely upload this project to our production server in order to protect our code.

What can we do for ASP.NET MVC 2?


Link to it as is available today (RTM version)

Visual Studio® 2010 Web Deployment Projects - RTW

Upvotes: 1

Views: 117

Answers (1)

Darin Dimitrov
Darin Dimitrov

Reputation: 1038820

Make sure you install the latest security patches for your operating system and hire a good network administrator. No kidding. No matter what you do if a hacker gains control over the server he will get the code under one form or another even if it is precompiled. This being said it is a good idea to precompile the application and deploy only the assemblies instead of the source code. You could also consider obfuscating it also but this is something usually done for client applications which you deploy to your users computers and less frequently done in server side applications because you control the server.

Upvotes: 1

Related Questions