You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: source/_addons/mosquitto.markdown
+21-1
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,8 @@ Set up [Mosquitto](https://mosquitto.org/) as MQTT broker.
18
18
"ssl": false,
19
19
"anonymous": true,
20
20
"logins": [
21
-
{"username": "testuser", "password": "mypw"}
21
+
{"username": "testuser", "password": "mypw"},
22
+
{"username": "testuser2", "password": "mypw2"}
22
23
],
23
24
"customize": {
24
25
"active": false,
@@ -76,3 +77,22 @@ protocol mqtt
76
77
<p class='note warning'>
77
78
It's recommended that you only open your firewall to the SSL/TLS port (8883) and only use the insecure port (1883) for local devices. Also, disable `anonymous:` and set `logins:`.
78
79
</p>
80
+
81
+
### {% linkable_title Access Control Lists (ACLs) %}
82
+
83
+
It is possible to restrict access to topics based upon the user logged in to Mosquitto. In this scenario it is recommended to create individual users for each of your clients and create an appropriate ACL.
0 commit comments