简体   繁体   English

Mosquitto-禁用通配符订阅

[英]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. 您可以使用ACL限制给定用户可以订阅的主题,并且这些主题可以包含通配符。 Details of the ACL format can be found in the mosquitto.conf man page here 访问控制列表格式的详细信息可以在mosquitto.conf手册页中找到这里

You can also prevent anonymous users being able to connect to the broker at all. 您还可以完全阻止匿名用户连接到代理。

allow_anonymous false

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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