0

Is it possible to require authentication only on specific mongodb databases (leaving other databases with free access with no authentication requirements)?

GKman
  • 495
  • 3
  • 9
  • 16

1 Answers1

1

No, it is not possible. According to the mongodb documentation:

Enabling access control on a MongoDB deployment enforces authentication, requiring users to identify themselves.

So authentication, when enabled, is enabled on the mongodb instance, so you can't have databases within the instance not requiring authentication.

Lacek
  • 7,233
  • 24
  • 28