How can I protect the source of my Metro Metro app?

I am very interested in creating applications in the style of Windows 8 Metro. I would like to use HTML5, but I am very concerned about protecting my interface from deconstructing and, ultimately, is frustrated by others. Unfortunately, my service is open source, so I canโ€™t hide things there unless I implement some kind of intermediary between the open source service and my HTML5 application interface.

As the title says, how do I protect the source of my Metro Metro app?

+4
source share
2 answers

You have two options:

  • Run a JavaScript obfuscator over your code. It will be much harder to figure out, but not impossible.
  • Implement critical functions as C ++ methods. You can easily call them using WinRT with JavaScript. This will greatly complicate the understanding of what is happening.
+6
source

If you want to keep something (something) secret, DO NOT pass it on to the client.

Maybe thereโ€™s some kind of obfuscation that I donโ€™t know about (yet), but you can still restore the code.

0
source

All Articles