Solved

Protect .Net Source Code in Production

Posted on 2013-01-14
3
362 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 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

Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
AJAX Create / Update Not working MVC 5 56
What!!!??? 5 58
How to call new form in VB2013? 4 29
XML and Linq - reading fields in repeating nodes 3 21
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…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.

738 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