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

Enable access control and authentication on MongoDB #2

Open
netoax opened this issue Mar 25, 2019 · 0 comments
Open

Enable access control and authentication on MongoDB #2

netoax opened this issue Mar 25, 2019 · 0 comments

Comments

@netoax
Copy link
Contributor

netoax commented Mar 25, 2019

The MongoDB is currently unprotected. In this way, if you access the mongo shell in your host machine using just the raspberry IP, you can operate on it and drop a database.

$ mongo <raspberry_ip>/knot_web
> db.dropDatabase()
> use knot_fog
> db.dropDatabase()

To solve this issue we need to follow the MongoDB Security Checklist, specially to enable the minimal security configuration: authentication and access control mechanisms.

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

No branches or pull requests

2 participants