I want to prevent my embedded software upgrade files from getting copied by unauthorised people on their hardware. How can i put a lock in my device and the upgraded software so that it gets upgraded only in my device and not anywhere else through USB or RS232.