Summary
Cyber security is an important aspect of any IoT project, and it is always a good idea to apply security best practices while designing and developing IoT products. For ESP32, it means enabling secure boot and flash encryption before rolling out a new product in the field. The application firmware also needs to support OTA updates for new versions to patch any security vulnerabilities. TLS/DTLS protocols can be employed at the application level to secure communication with remote servers or any other computing devices. In this chapter, we have learned some techniques to secure our IoT devices.
Nonetheless, it is hard to say we can have 100% secure devices even if we think we have taken all precautions. It is always good practice to look for any possible vulnerabilities after installation in the field and set up an infrastructure to monitor the health of installed devices when necessary.
We will continue with another connectivity feature of ESP32 in the next chapter. As...