Enable Security in MongoDB

To enable MongoDB securing, edit the mongod.conf file setting authorization: enabled.

About this task

More information on this can be found in MongoDB documentation found here.