MongoDB数据库加密 [英] MongoDB database encryption

查看:541
本文介绍了MongoDB数据库加密的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在设计一个使用MongoDB安全地存储私人信息的webapp。我想加密整个数据库,但它看起来不受支持。我可以采用哪些路由加密我的数据库?

I'm looking to design a webapp which stores private information securely using MongoDB. I would like to encrypt the entire database but it looks like it's not supported. What routes can I take to encrypt my database?

推荐答案

MongoDB 3.2 (发布于 2015年11月)提供加密存储引擎。在插入或加密整个驱动器之前,不需要使用第三方API来加密数据。您可以在此处找到更多详情。

MongoDB 3.2 (Released in November 2015) offers an encrypted storage engine. No need to use third party APIs to encrypt your data before insertion or encrypt the whole drive. You can find more details here.

它与WiredTiger存储引擎一起使用,它自3.0以来一直被包含在默认的MMAPv1存储引擎中。如果您的数据库仍在使用MMAPv1,请阅读本指南将数据库从MMAPv1转换为WiredTiger的步骤。

It works with the WiredTiger storage engine, which has been the included as an alternative to the default MMAPv1 storage engine since 3.0. If your database is still using MMAPv1, read this guide for the steps to convert a database from MMAPv1 to WiredTiger.

这篇关于MongoDB数据库加密的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆