0

我有一个作为特定域用户运行的 Windows 服务。此服务需要访问 MongoDB。我可以将 mongo 配置为接受此域用户,还是在某个配置中使用 mongo 用户名和密码的唯一方法?

4

1 回答 1

1

Linux 上运行的 MongoDB 2.4 Server(仅限企业版)支持外部身份验证。如果您的数据库在 Linux 上运行并且您使用 .Net 或 Java 驱动程序连接到它,您可以设置使用 Kerberos 作为外部身份验证提供程序。更多信息可以在http://docs.mongodb.org/ecosystem/tutorial/authenticate-with-csharp-driver/或:http ://docs.mongodb.org/ecosystem/tutorial/authenticate-with-java-找到司机/

于 2013-03-26T20:59:02.493 回答