?
Solved

Protect .Net Source Code in Production

Posted on 2013-01-14
3
Medium Priority
?
376 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 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

Granular recovery for Microsoft Exchange

With Veeam Explorer for Microsoft Exchange you can choose the Exchange Servers and restore points you’re interested in, and Veeam Explorer will present the contents of those mailbox stores for browsing, searching and exporting.

Question has a verified solution.

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

Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
High user turnover can cause old/redundant user data to consume valuable space. UserResourceCleanup was developed to address this by automatically deleting user folders when the user account is deleted.
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …
With just a little bit of  SQL and VBA, many doors open to cool things like synchronize a list box to display data relevant to other information on a form.  If you have never written code or looked at an SQL statement before, no problem! ...  give i…
Suggested Courses

864 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