Tag: MongoDB

Six Things You Need to Know About Securing Your Database

Whether you store secret government information or standard user data, you don’t want some unknown person to access to your database. Especially if they’re an evil hacker. So what can you do to protect your sensitive information?Lack of Security Is a Huge ProblemGenerally, people want to do the minimum. When they set up the database environment, they often forget about securing it. Or they rely on someone else to do it for them, as many MongoDB users did. Prior to MongoDB version 2.6.0, the default IP binding was on 0.0.0.0. This meant that unless additional security measures were implemented, anyone could connect to the server. Moreover, the database did not require authentication.

SQL vs. Mongo query

In recent times, NoSQL databases have become a hot topic and have gained a crowd of advocates. Indeed, when NoSQL database started to arise, SQL-to-NoSQL converters arose with them as well. But unfortunately, thanks to the code conversion possibility, SQL supporters gained unquestionable evidence that in many cases the good, old SQL is much easier to use. Especially when it comes to queries.I performed a quick Google search and found plenty of nice converter tools. Here is one of them: