Docs Menu
Docs Home
/
MongoDB Manual
/ /

Enable Access Control on Self-Managed Deployments

On this page

  • Access Control Resources
  • Next Steps

Enabling access control on a MongoDB deployment enforces authentication. With access control enabled, users are required to identify themselves and can only perform actions that adhere to the permissions granted by the roles assigned to their user.

You can configure authentication in the UI for deployments hosted in MongoDB Atlas.

Note

You can't disable access control in MongoDB Atlas.

If you would like to enable access control for a standalone MongoDB instance, please refer to one of the following resources:

If you would like to enable access control for a replica set or a sharded cluster, please refer to one of the following resources:

To create additional users, see Create a User on Self-Managed Deployments.

To manage users, assign roles, and create custom roles, see Manage Users and Roles on Self-Managed Deployments.

Back

Security Checklist