4

How to protect wsp file so no one can read my source code. When we change wsp file extension from wsp to zip, it gives all dll file and this dll can be extracted from .net reflector and get all source code. Is there any way to protect my code ?

1
  • i probably presume that your selling the wsp to add onto sharepoint?
    – Ali Jafer
    Apr 16, 2013 at 7:59

1 Answer 1

5

If you don't want other people to be able to Reverse Engineer the source code to DLLs you're giving them, then you should obfuscate the DLL. See .Net Obfuscation for some suggestions.

But before going in that direction I have a couple of comments:

  1. The only people who can get the DLL is the people with access to WSP (or the farm where it's installed). Not the people just browsing the SharePoint sites.

  2. A lot of SharePoint installations (hopefully all) may reject your product if they aren't able to inspect the code.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.