Solved

Protect .Net Source Code in Production

Posted on 2013-01-14
3
350 Views
Last Modified: 2013-03-19
There are times when we develop where we have to include information in our code that we would not want other people to be able to see.  Since any .Net DLL can easily be read using a decompiler we need to have a way to protect our code and our application.  

We currently use the Microsoft Licensing Runtime to accomplish this which does a pretty good job of taking care of things but I sometimes find it difficult to use.  I am wondering what people perceive are the best options available today for protecting source code in a production environment.
0
Comment
Question by:kmcbrearty
3 Comments
 
LVL 83

Assisted Solution

by:CodeCruiser
CodeCruiser earned 250 total points
ID: 38774698
0
 
LVL 9

Accepted Solution

by:
sognoct earned 250 total points
ID: 38774743
I used once the dotfuscator with good result, but it is not the safer solution.
Crypto and salamander are better (as far as i remember)

Dotfuscator
http://msdn.microsoft.com/en-us/library/ms227240%28VS.80%29.aspx

cryptoobfuscator
http://www.ssware.com/cryptoobfuscator/obfuscator-net.htm

salamander
http://www.remotesoft.com/salamander/obfuscator.html
0
 
LVL 10

Expert Comment

by:Monica P
ID: 38809482
To protect the Live code..

It is also possible to publish the code using VS (selecting build->publish website)  and move the dll for each page to Live environment instead Entire Source code
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question