- Security >
- Security Reference
Security Reference¶
On this page
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.