Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Databases

Paul Milbank
Paul Milbank
6,445 Points

Suggestions for the Mongo basics course

Could there be section added for the remove operation? That would give the delete part seeing as the create, read and update were covered. It isn't hard to work it out from the docs, but would have been nice. https://docs.mongodb.com/getting-started/shell/remove/

Also, could this be extended to cover securing mongo? It is a serious issue: https://snyk.io/blog/mongodb-hack-and-secure-defaults/. It could cover the YAML server configuration too. https://docs.mongodb.com/manual/administration/security-checklist/ https://www.cyberciti.biz/faq/how-to-secure-mongodb-nosql-production-database/ https://docs.mongodb.com/manual/reference/configuration-options/

Guide for Windows: http://www.baconapplications.com/installing-and-securing-mongodb-on-windows/ It doesn't use the YAML config though. mongo.conf can look something like this for a local DB:

net:
    bindIp: 127.0.0.1
    port: 37011
systemLog:
    destination: file
    path: "C:/data/logs/mongo.log"
    logAppend: true
storage:
    dbPath: "C:/data/db"
security:
    authorization: enabled

1 Answer

Josh Keenan
Josh Keenan
20,315 Points

Just finished the mongo basics course, I don't think that they plan to add much more anytime soon sadly but I would think that if/when they did it would lead on just from where this left off and I don't think we would see security added for quite a while (~ 1 year).