Username and password
You will get a basic level of protection using username and password authentication when you connect to the MQTT server. In the hands-on projects, we will use shiftr.io as the MQTT server, which makes it possible to restrict access to a personal namespace to only the accounts that you granted access to. Compared to transport-level encryption with SSL/TSL, this is just basic encryption. The username and password are transmitted in an unencrypted state, from your client (in our case, the Arduino) to the MQTT server. Therefore, third parties could sniff the password, and use it to log in to the MQTT server themselves.
In this whole book, we will be using the MQTT shiftr.io server. It will be introduced in the MQTT servers ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access