Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[question] How to prevent abuser subscribing to topic? #513

Closed
ilomon10 opened this issue Jun 24, 2020 · 2 comments
Closed

[question] How to prevent abuser subscribing to topic? #513

ilomon10 opened this issue Jun 24, 2020 · 2 comments
Labels

Comments

@ilomon10
Copy link
Contributor

hello, I just know mqtt

how to set access control on a particular topic / client to prevent other clients from receiving sensitive messages, they can subscribe to wildcards to get all topic messages.

Maybe it's like socket.io which can create room and make clients join to certain rooms with unique keys so that other clients cannot easily listen.

Any best practice.

@robertsLando
Copy link
Member

robertsLando commented Jun 24, 2020 via email

@ilomon10
Copy link
Contributor Author

@robertsLando thank you for fast respond. It can be done with authorize function, with compare stored authenticated client and i can revoke client who trying to subscribe to specific topic.
Now my problem solved. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants