Mongo DB Info - theheapdump/kite-webapp GitHub Wiki
-
Enabling Authentication on MongoDB instance:
Launch mongod.conf file in your favorite editor
Append these lines at the end of the config file.
security: authorization: enabled
- bind_ip=127.0.0.1,168.21.200.200
It means you can access from localhost and your private network.
3.db.auth("admin", "admin_password")
use database_1
db.createUser({ user: "user_1", pwd: "your_password", roles: [{ role: "dbOwner", db: "database_1" }] })
- Encryption and Protection of Data