• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 191
  • Last Modified:

Don't want to share a library !

Hi Experts,

I have built a library for my app, but I don't want other app to be able to use my library.
How can I do ?

Thanks in advance for your answers.
0
noulouk
Asked:
noulouk
1 Solution
 
der_jthCommented:
.NET has built in support for this. The key is to sign your code digitally and make your Assembly require callers to have that signature. See <http://samples.gotdotnet.com/quickstart/howto/doc/security/CodeIdentityDemand.aspx> for a very simple explanation. It's pretty easy to get working, but you should be well familiar with .NET code security as a whole prior to deploying such an application. I strongly advise at least reading the help topics on security issues and preferably a good book.

You may also want to consider using an obfuscation tool to help keep your source code safe. Taking a look at the links at <http://msdn.microsoft.com/vcsharp/team/tools/default.aspx> and reading the article at <http://www.developer.com/net/csharp/article.php/3292231> might be useful.
0

Featured Post

Prep for the ITIL® Foundation Certification Exam

December’s Course of the Month is now available! Enroll to learn ITIL® Foundation best practices for delivering IT services effectively and efficiently.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now