Securing MongoDB – User Administration
Securing MongoDB – User Administration
The db.createUser(user, writeConcern) method used to create users.We need to provide the username, password and roles The definition of createUser as follows { user: "", pwd: "password>", customData: { }, roles: [ { role: "", db: "" }, { role: "", db: ""}, ... ] } Role Role is an approach to restricting system/DB access to authorized users.The security hierarchy is similar to various DB…
View On WordPress












