Solved

Protect .Net Source Code in Production

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

Space-Age Communications Transitions to DevOps

ViaSat, a global provider of satellite and wireless communications, securely connects businesses, governments, and organizations to the Internet. Learn how ViaSat’s Network Solutions Engineer, drove the transition from a traditional network support to a DevOps-centric model.

Question has a verified solution.

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

Suggested Solutions

More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

735 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