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

Learn how to create flexible schemas in a relational database using SQL for JSON.

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.

Create flexible schemas using dynamic columns for semi-structured data. Learn how.

Topics:

Opinions expressed by DZone contributors are their own.

THE DZONE NEWSLETTER

Dev Resources & Solutions Straight to Your Inbox

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.

X

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

{{ parent.tldr }}

{{ parent.urlSource.name }}