sorry if this might be a newbie question for mqtt.
Is it possible to limit clients of an mqtt message broker, so that they can subscribe only to a topic, but not publish on the same topic for security reasons?
sorry if this might be a newbie question for mqtt.
Is it possible to limit clients of an mqtt message broker, so that they can subscribe only to a topic, but not publish on the same topic for security reasons?
Yes.
Mosquitto's ACL scheme supports 3 modes for topics read/write/readwrite which would give you what you want.
You can find details in the mosquitto.conf man page
yes, that is totally possible, but depending on the MQTT broker.
You can learn more about authorization in MQTT in general and how it works in HiveMQ here: http://www.hivemq.com/blog/mqtt-security-fundamentals-authorization/
Hope that helps, Christian
Disclaimer: I'm involved with dc-square, the company which is developing HiveMQ.