Development of professional products, protecting code
I have started to build a prototype for a professional product based on WiPy. With the availability of OEM modules I guess that is "supported" by Pycom. The problem I see is that I haven´t found a way to protect my code, someone could download it from the module. What can be done in this area?
robert-hh last edited by
@johand As long as you have pysical access to the module, you can extract the image. Then you would have to de-compile the code, which is some effort. If you think that this is a sufficient barrier, then you can go that way. And, as @livius said, this topic has been diesucssed in this forum as well as in forum.microtpython.org. So you are not alone, and I expect some methods to come up.
@lbergman What about compiled and frozen code, could it easily be downloaded from the module? That might be a solution with good enough security.
livius last edited by
If you look at
there is point for this.
I also wait for this feature.
Without it i still only make some prototypes or hobby projects.
@johand while not ideal you could require some kind of internet connectivity to pull a validated license key before your code enters run(). If you load the code already compiled nobody could modify it.