Vote count:
0
I have installed MongoDB on Windows 2012 Server and running it on windows service.
In order to protect it from anonymous log-ins, I followed below steps to enable authenticate and disable anonymous access
Create the Administrator Credentials and then Enable Authentication
- Start the
mongodormongosinstance without theauthorkeyFilesetting. - Create the administrator user as described in
Create a User Administrator. - Re-start the
mongodormongosinstance with theauthorkeyFilesetting.
I am not sure what 3rd step is meant, I stopped MongoDB service and restarted it. But I can still do a anonymous Log-in to the remote MongoDB
How can I disable anonymous access to MongoDB?
asked 2 mins ago
Aucun commentaire:
Enregistrer un commentaire