![]() ![]() T16:28:25.971-0700 ssl imported 1 revoked certificate from the revocation list. T16:28:25.955-0700 ssl imported 1 revoked certificate from the revocation list. \mongod.exe -sslOnNormalPorts -sslPEMKeyFile. First connect to the MongoDB instance using a mongo shell specifying the name of the authentication database that will hold the user accounts as "admin".PS C:\10gen\mongo>. To create a user in MongoDB that uses authentication, you must first create a user or system administrator account - that is an account that has permissions to create other user accounts and typically the first account that is created in your MongoDB instance for system administrators. The user will be identified by a record in the user account store in MongoDB and authenticated to MongoDB with a password. You will want to create a user in MongoDB that maps to a real user or application. For a more exhaustive list of options for securing your MongoDB instance visit the security documentation on the MonogDB web site: 1. However you have other authentication options if you are not implemented. Also this article is a specific example of securing a MongoDB instance against an ASP.NET web application and chooses a the MongoDB CR Authentication over other authentication types because it is the only one supported by. ![]() Note that my particular MongoDB instance is running on an Ubuntu Linux virtual machine but MongoDB runs on many different platforms including Windows Server. However this article can be useful for anyone who has a MongoDB instance in their environment. ![]() This article is a continuation of a previous article that discussed implementing MongoDB as an alternative database engine for searching in our ASP.NET application. In this short article we will secure our MongoDB instance in our network with user authentication. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2022
Categories |