Tsallaka zuwa abun ciki
Justice Tech School

Security Basics

Enable auth, restrict network access and never expose the port.

Example
# mongod --auth
# bindIp: 127.0.0.1
# use TLS in production
# never commit connection strings

Exercise

Enable auth.

mongod --

Quiz Test

Should MongoDB be open to the internet?

These free lessons are for learning. Join a full course for projects, mentor feedback and a verified certificate.