Netduino home hardware projects downloads community

Jump to content


The Netduino forums have been replaced by new forums at community.wildernesslabs.co. This site has been preserved for archival purposes only and the ability to make new accounts or posts has been turned off.
Photo

Code copy protection


  • Please log in to reply
7 replies to this topic

#1 jinlye

jinlye

    New Member

  • Members
  • Pip
  • 1 posts

Posted 18 June 2011 - 11:49 AM

Is there any code copy protection or similar available to developers using Netduino? If I wanted to make something using Netduino and not have my code immediately visible and copyable by anyone, is there some bit I can set or fuse I can blow or something to prevent other people just reading my code out of the controller? Thanks Netduino Noob

#2 Christoc

Christoc

    Advanced Member

  • Members
  • PipPipPip
  • 127 posts
  • LocationBallwin, MO

Posted 18 June 2011 - 05:22 PM

I haven't ever tried using anything, but would code obfuscation tools work in the MF environments?

View my blog at ChrisHammond.com

Projects: Netduino Tank/Tracked Vehicle, DNNFoos, Random other bits


#3 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 18 June 2011 - 05:52 PM

Hi jinlye, First: Christoc...yes, you can use Dotfuscator. You'll need the non-Express version of Visual Studio for that, I believe. Second: You can actually build the Netduino firmware as "RTM" which will lock out the debugger--and you can add digital kits to the firmware which lock down your unit. You could even lock the flash on the MCU after flashing it. More details are available in the "\MicroFrameworkPK_v4_1\Documentation\" folder and in the microcontroller datasheet. Lots of options. .NET MF is great for open source electronics boards, but it also has these types of options for commercial products which want to be locked down. Chris

#4 NetduinoNewbie

NetduinoNewbie

    New Member

  • Members
  • Pip
  • 7 posts

Posted 09 July 2011 - 04:38 PM

Chris, Based on what you wrote above, are you saying that you can put a hook in the firmware, make it so that only your firmware loads to the device, and then write code that looks at the firmware hook and then loads (or operates) or not depending on finding the hook? Ed

#5 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 09 July 2011 - 07:34 PM

Hi Ed,

Based on what you wrote above, are you saying that you can put a hook in the firmware, make it so that only your firmware loads to the device, and then write code that looks at the firmware hook and then loads (or operates) or not depending on finding the hook?

You can lock down TinyBooter so that it will only flash and run firmware signed by your private key. [Actually, you can have two keys--if you want one for the .NET MF runtime and one for your application.]

Inside your code, you can do any type of authentication you'd like as well.

There are some ways to keep folks from pulling your firmware off the chip as well. Although anyone with a really expensive microscrope and lots of time on their hands... ;)

Chris

#6 Rossi

Rossi

    Member

  • Members
  • PipPip
  • 10 posts

Posted 30 June 2017 - 01:45 PM

Hi jinlye, First: Christoc...yes, you can use Dotfuscator. You'll need the non-Express version of Visual Studio for that, I believe. Second: You can actually build the Netduino firmware as "RTM" which will lock out the debugger--and you can add digital kits to the firmware which lock down your unit. You could even lock the flash on the MCU after flashing it. More details are available in the "\MicroFrameworkPK_v4_1\Documentation\" folder and in the microcontroller datasheet. Lots of options. .NET MF is great for open source electronics boards, but it also has these types of options for commercial products which want to be locked down. Chris

Hi Chris,

can you explain me with sample this:

"You can actually build the Netduino firmware as "RTM" which will lock out the debugger--and you can add digital kits to the firmware which lock down your unit."

 

 

Thanks

Alex



#7 Sandro

Sandro

    Member

  • Members
  • PipPip
  • 19 posts

Posted 27 May 2022 - 04:38 AM

https://advocatesnairobi.com/نسبة-الفقر-في-مصر-2022/ https://enjazalkhaleej.com/نت-فلكس/ https://advocatesnairobi.com/تجربتي-مع-دويتشه-الخليج/ https://myfemalefunda.com/180-دولار-كم-كويتي/ https://angosiam.com/تحويل-جنيه-مصري-الى-درهم-مغربي/

#8 Sandro

Sandro

    Member

  • Members
  • PipPip
  • 19 posts

Posted 28 May 2022 - 05:11 AM

https://myfemalefunda.com/تداول-في-العملات-الرقمية/ https://angosiam.com/تحويل-ريال-سعودي-الى-دينار-عراقي/ https://enjazalkhaleej.com/طريقة-الاستثمار-في-أمازون/ https://sanakanwalfashion.com/اسعار-صرف-اليرة-التركية/ https://myfemalefunda.com/السوق-المفتوح-الكويت-عقارات/




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

home    hardware    projects    downloads    community    where to buy    contact Copyright © 2016 Wilderness Labs Inc.  |  Legal   |   CC BY-SA
This webpage is licensed under a Creative Commons Attribution-ShareAlike License.