Answer the question
In order to leave comments, you need to log in
How to make permission delimitation in mosquitto?
I can't set up authorization in mosquitto
How to do it:
user admin - writes everything, reads everything
user writer - write only, but in any topic, reading is prohibited for the
rest - no access
using mosquitto_passwd created users
added to the config
allow_anonymous false
password_file /etc/mosquitto/passwd
acl_file /etc/mosquitto/mosquitto.acl
user admin
topic readwrite #
user writer
topic write #
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question