Welcome to the Pycom forum Forum
    • \[\[global:header.categories\]\]
    • \[\[global:header.recent\]\]
    • \[\[global:header.tags\]\]
    • \[\[global:header.popular\]\]
    • Login

    Explore Pybytes | Official Documentation | Report a Firmware Bug/Issue | GitHub

    Development of professional products, protecting code

    Scheduled Pinned Locked Moved Comments & Feedback
    oemprofessionalcode protection
    5 Posts 4 Posters 1.1k Views 6 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J Offline
      johand
      last edited by

      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?

      L L 2 Replies Last reply Reply Quote 1
      • L Offline
        lbergman @johand
        last edited by

        @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.

        J 1 Reply Last reply Reply Quote 0
        • L Offline
          livius @johand
          last edited by

          @johand
          If you look at
          https://forum.pycom.io/topic/433/features-wish-list
          there is point for this.

          I also wait for this feature.
          Without it i still only make some prototypes or hobby projects.

          think about people first, then computers

          1 Reply Last reply Reply Quote 1
          • J Offline
            johand @lbergman
            last edited by

            @lbergman What about compiled and frozen code, could it easily be downloaded from the module? That might be a solution with good enough security.

            robert-hhR 1 Reply Last reply Reply Quote 0
            • robert-hhR Offline
              robert-hh @johand
              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.

              1 Reply Last reply Reply Quote 0

              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

              With your input, this post could be even better šŸ’—

              Register Login
              • 1 / 1
              • First post
                Last post

              Pycom on Twitter

              Pycom