From eeff0e1032e70cd166d6ae8bd7adc0d06a246143 Mon Sep 17 00:00:00 2001 From: Andres Hermosilla Date: Thu, 3 Aug 2017 16:44:37 -0700 Subject: [PATCH] Added section to mongodb guide on security --- mongodb.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/mongodb.md b/mongodb.md index 4bca273..e1761ea 100644 --- a/mongodb.md +++ b/mongodb.md @@ -47,4 +47,8 @@ hours_ago=$(date -d '8 hour ago' "+%s") query="{'class': ${product_class}, 'ts': {'\$gt': ${hours_ago} }}" mongo Health --quiet --eval "var collection='Stats', query=${query}, outputFormat='json', limit=3000, maxDepth=1" variety.js -``` \ No newline at end of file +``` + +## Security +- https://www.cyberciti.biz/faq/how-to-secure-mongodb-nosql-production-database/ +- http://thecodebarbarian.com/casting-mongodb-queries-with-archetype.html \ No newline at end of file