Ardupilot for Production- locking firmware and autopilot

Didnt know where to paste this so here it is. please point to the right direction

We are working for development of a drone for production level. Which incidentally requires a lot of things to be done before handing to the customer.

Since the list is really massive. For now i will just start with 2-3 issues. If anyone can help me i am all ears.

  1. It is required that the firmware be locked and not be editable by anyone except the OEM using a secure upgrade procedure.
  2. Only electronically paired peripheral be allowed to be attached. For example a certain model of GPS or telemetery be paired and allowed. Anything else you plugin should not let the UAV tak-off.

these are just some of the many. Your help is appreciated