locked
How to protect dll ? (prevent others use it) (security question)

    Question

  • I have some encryption (symmetric algorithm with key) in my dll. I'am writing c# and since it's very easy to decompile ( and obfuscation is not possible for metro style apps yet? ) so i wanted to write encrypt decrypt code in c++ (adding reference). The final dll and winmd file can be used by anyone in the World easily in their application and they can use those functions easily. Maybe you'll tell me to don't hide key in the dll, but i have to keep it somewhere on the clientside.If i put it into c#, it'll be easily readible. If i put it into c++ it'll be hard to find the key, but they won't need a key since the function is ready there to be used directly..

    What should i do?

    Sunday, April 22, 2012 6:52 AM

All replies

  • It seems that there is no way to obfucate a winrt DLL

    NEU_ShieldEdge

    Monday, April 23, 2012 6:12 AM
  • I can personally recommend Babel Obfuscator: http://www.babelfor.net/

    I use it for my app and it is fantastic for Windows Store apps. Priced reasonably as well. I have it integrated into my build procedure as well so no extra work needed.


    http://www.refractored.com

    Monday, February 04, 2013 1:33 AM