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

Proposal: Authentication Mechanism #7

Open
xdadrm opened this issue Aug 3, 2021 · 0 comments
Open

Proposal: Authentication Mechanism #7

xdadrm opened this issue Aug 3, 2021 · 0 comments

Comments

@xdadrm
Copy link

xdadrm commented Aug 3, 2021

Currently anyone who can talk to the bot can also send commands and subscriptions. This poses the risk of strangers abusing your service to interact with your environment (via mqtt or the configuration) and or using your server for their likely malicious purposes to connect to other mqtt servers on the internet.

Proposed solution::

First user (or channel) to connect & configure mqtg after a start (empty Database) becomes the owner of the server, might be a flag that can be granted to others.

Additionally the owner would have then the possibility to decide whether :

  • the server is public (as it is today) or private
  • whether access requests would be allowed (new users connecting with /start) -or- users are to be added manually.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant