简体   繁体   中英

Mosquitto - disable subscription with wildcards

我想使用通配符( + )禁用所有主题的订阅,这可能吗?

Yes, on a per user basis. You can use the ACL to limit what topics a given user can subscribe to and these can include wildcards. Details of the ACL format can be found in the mosquitto.conf man page here

You can also prevent anonymous users being able to connect to the broker at all.

allow_anonymous false

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM