Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

MongoDB Encryption Options

DZone's Guide to

MongoDB Encryption Options

· Database Zone ·
Free Resource

RavenDB vs MongoDB: Which is Better? This White Paper compares the two leading NoSQL Document Databases on 9 features to find out which is the best solution for your next project.  

MongoHQ wrote a helpful blog on the encryption features in MongoDB.  Its a big deal for the larger, more cautious companies as well as smaller ones, so it behooves a MongoDB host in company like MongoHQ to help share information about MongoDB's security.

The two pri­mary lev­els for encryp­tion are:

  • “Data-in-motion” is pro­tected by encrypt­ing the data in tran­sit; solved with SSL/TLS.  We’ll have more to say about this in a future post.
  • “Data-at-rest” is pro­tected by encrypt­ing stored infor­ma­tion, the topic of this post.

Data-at-rest encryp­tion can be solved with any/all of the following:

  • Encrypt the entire drive
  • Encrypt indi­vid­ual files or data­bases on the disk
  • Encrypt entire doc­u­ments (rows in SQL-land) or indi­vid­ual attrib­utes (columns in SQL-land) at the appli­ca­tion level

--MongoHQ Blog


The post also emphasizes that application-level encryption is paramount.

Get comfortable using NoSQL in a free, self-directed learning course provided by RavenDB. Learn to create fully-functional real-world programs on NoSQL Databases. Register today.

Topics:

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}