This version of the documentation is archived and no longer supported.

Security Reference

Security Methods in the mongo Shell

Name Description
db.addUser() Adds a user to a database, and allows administrators to configure the user’s privileges.
db.auth() Authenticates a user to a database.
db.changeUserPassword() Changes an existing user’s password.

Security Reference Documentation

User Privilege Roles in MongoDB
Reference on user privilege roles and corresponding access.
system.users Privilege Documents
Reference on documents used to store user credentials and privilege roles.
Default MongoDB Port
List of default ports used by MongoDB.

Security Release Notes Alerts

Security Release Notes
Security vulnerability for password.