0

im currently using ConfuserEx to obfuscate most of my programs. But now i want to sell someone a DLL, but im having a hard time obfuscating the DLL and then being able to use it on Visual Studio. Is this a impossible thing or can it be done with pinvoke or something more advanced?

Diego
  • 183
  • 1
  • 2
  • 12
  • 1
    Don't obfuscate the API, see [How to secure an API written in .Net](http://stackoverflow.com/q/2463241/33499) – wimh Apr 01 '16 at 21:22
  • Obfuscation can not protect your code, just can make the life for the hacker a little bit harder. The only thing that can protect your intellectual property is *law* – Eser Apr 01 '16 at 21:24
  • i know that... but theres no reason to not do it if you can do it... its not going to be a big program but i dont want script kiddies to just crack it if i wanted that i wouldnt be selling right? – Diego Apr 01 '16 at 21:26
  • @Diego you want to sell a library(DLL), so you can not obfuscate the API(public methods). What would be the reason to obfuscate other internal methods? Better, write a web service and sell a membership to your customer. – Eser Apr 01 '16 at 21:30
  • @Eser becouse the DLL is going to be a login system... if they break the login its going to be my fault becouse he forgot to obfuscate or something... – Diego Apr 01 '16 at 21:54
  • @Diego The security of a login system should absolutely not depend on whether someone has access to the source. – Kyle Apr 01 '16 at 21:58
  • @Diego think SSL, the `s` in https. It is a well known code. And its security doesn't depend of hiding the source code... – Eser Apr 01 '16 at 22:03
  • @Eser i honestly never done anything with https are there any resources you can link? – Diego Apr 01 '16 at 22:29
  • @Diego It was just an example to show that the security of an algorithm doesn't depend on its being hidden. – Eser Apr 01 '16 at 22:49

0 Answers0