When designing for IoT and IIoT, security needs to be addressed from the Cloud down to each and every edge device. Protecting data is both a hardware and software requirement, as more data is being stored and analyzed in edge devices and gateways.