Creating MongoDB instance using Docker

MongoDB can be installed and run within a docker container with its port=27017 dbpath=/data/db for storage. The docker run can start the process in the container and attach the console to the process’s standard input, output, and standard error. It can even pretend to be a TTY (this is what most command line executables expect)…

Database Security – Security Checklist

With increased regulatory compliance, heightened concerns around privacy and growing risk from hackers and organized crime, the need to secure access to data has never been more urgent. Following this check list to make sure your company’s data is safe. This is a generic list that applies to most popular open source and commercially supported…

MongoDB Security and Access Control

If your MongoDB deployment has no users, you must connect to mongod using the localhost exception or use the –noauth option when starting mongod to gain full access the system. Once you have access, you can skip to Creating the system user administrator in this procedure. If users exist in the MongoDB database, but none of them has the appropriate prerequisites to create a new user or…

MongoDB with Java

The official MongoDB Java Driver providing both synchronous and asynchronous interaction with MongoDB. Powering the drivers is a new driver core and BSON library. Core features are: BSON Library – A standalone BSON library, with a new Codec infrastructure that you can use to build high-performance encoders and decoders without requiring an intermediate Map instance.…

MongoDB

MongoDB is a document oriented database that stores collections and documents. Collections – group of documents [ {d1}, {d2}, {d3}, {dn} ] Documents – key value pairs with a dynamic schema. {key : value} Below given table shows the relationship of RDBMS terminology with MongoDB RDBMS MongoDB Database Database Table Collection Tuple/Row Document column Field…