Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [mosquitto-dev] Reg authentication for publishing


Please, take a look at the acl_file option in mosquitto configuration file.
"Anonymous" clients can be your subscribers and you can define topics they are allowed to read from.

This is an example of an ACL file:
topic read devices/+/event
user temp_sensor
topicwrite devices/temperature/event

In this case, anonymous clients are allowed to subscribe on devices/+/event, but only user temp_sensor is allowed to publish to devices/temperature/event.

Best regards,

2016-03-21 5:46 GMT+01:00 J@g@dee5h <djfueese@xxxxxxxxx>:

I need to setup authentication for publishing. All the subscribers should connect to mosquitto server without any authendication.

Please let me know how to do authentication only for publishing in mosquitto server.

mosquitto-dev mailing list
To change your delivery options, retrieve your password, or unsubscribe from this list, visit

Back to the top