?
Solved

Protect .Net Source Code in Production

Posted on 2013-01-14
3
Medium Priority
?
370 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 83

Assisted Solution

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

Accepted Solution

by:
sognoct earned 1000 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

Stack Overflow Podcast - Developer Story

Welcome to the Stack Overflow podcast recorded Thursday July 20 at Stack Overflow Headquearters in NYC. Your hosts today are podcast regulars Jay Hanlon, David Fullerton, and Ilana Yitzhaki, plus the quite irregular Matt Sherman (Stack Overflow Engineering Manager extraordinaire)

Question has a verified solution.

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

The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Suggested Courses

752 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