菜单
  
    MongoDB Security[20] MongoDB provides a number of constructs to improve the security of your data. The security of your data in MongoDB is paramount - so it is important to leverage these constructs to reduce your surface area. Here are 10 tips you can use to improve the security of your MongoDB servers on premise and in the cloud.39907
        1. Enable auth - Even if you have deployed your Mongodb servers in a trusted network it is good security practice to enable auth. It provides you "Defense in depth" if your network is compromised. Edit your mongod configuration file to enable auth.
     
        2. Don't expose your production db to the internet - Restricting physical access to your database is an important aspect of security. If it is not necessary do not expose your production database to the internet. In case of any compromise if an attacker cannot physically connect to your MongoDB server, your data is that much more secure. If you are on AWS you can place your db's in a VPC private subnet.
    3. Use firewalls - Use firewalls to restrict which other entities are allowed to connect to your mongodb server. Best practice is to only allow your application servers access to the database. If you are hosted on AWS use 'Security groups' to restrict access. If you are hosted on a provider that does not support firewall constructs you can easily configure it yourself using 'iptables'.
    4. Use key files to setup the replica set - Specify a shared key file to enable communication between your mongodb instances in a replica set. To enable this add the keyfile parameter to the config file as below. The contents of the file need to be the same on all the machines.
     
    5. Disable HTTP status interface Mongodb by default provides a http interface running by default on port 28017 which provides the "home" status page. This interface is not recommended for production use and is best disabled. Use the "nohttpinterface" configuration setting to disable the http interface.
     
    6. Disable the REST interface The monogdb REST interface is not recommended for production. It does not support any authentication. It is turned off by default. If you have turned it on using the "rest" configuration option you should turn it off for production systems.
     
    7. Configure Bind_ip If your system has multiple network interfaces you can use the "bind_ip" option to restrict your mongodb server to listen only on the interfaces that are relevant. By default mongodb will bind to all the interfaces.
     
        8. Enable SSL - If you don't use SSL your data is traveling between your Mongo client and Mongo server unencrypted and is susceptible to eavesdropping, tampering and "man in the middle" attacks. This is especially important if you are connecting to your Mongodb server over unsecure networks like the internet.
    9. Role based authorization - MongoDB supports role based authentication to give you fine grained control over the actions that can be performed by each user. Use role based constructs to restrict access instead of making all your users admins.
    10. Enterprise MongoDB & Kerberos Enterprise mongodb integrates with Kerberos for authentication. Refer to the mongodb documentation for more details. Username/password systems are inherently insecure - use kerb based authentication if possible.
    B.原文的翻译
    MongoDB安全性
        MongoDB提供了大量的结构来提高数据的安全性。在MongoDB数据库下,数据的安全是至关重要的。那么MongoDB又是如何减少数据曝光面的呢?答案就是利用组件结构。这里有10个技术手段可以用来改善MongoDB服务器的安全性。
    1.启用身份验证
    即使是在信誉良好的网络环境中,对服务器进行部署,启用Auth--身份验证也是一个很好的实践。如果你的网络被破坏,它可以为你提供了“深层防御”。编辑你的Mongod配置文件来启用你的身份验证。论文网
  1. 上一篇:应用程序组件英文文献和中文翻译
  2. 下一篇:原始语言分析英文文献和中文翻译
  1. 节能墙体材料数据库和数...

  2. 能源需求和家庭能源效率...

  3. 数据库系统架构英文文献和中文翻译

  4. 数据库开发英文文献和中文翻译

  5. SQL Server数据库英文文献和中文翻译

  6. 数据库英文文献和中文翻译

  7. 数据库管理系统英文文献和中文翻译

  8. 乳业同业并购式全产业链...

  9. 十二层带中心支撑钢结构...

  10. 电站锅炉暖风器设计任务书

  11. 大众媒体对公共政策制定的影响

  12. 河岸冲刷和泥沙淤积的监测国内外研究现状

  13. 杂拟谷盗体内共生菌沃尔...

  14. 中考体育项目与体育教学合理结合的研究

  15. 酸性水汽提装置总汽提塔设计+CAD图纸

  16. 当代大学生慈善意识研究+文献综述

  17. java+mysql车辆管理系统的设计+源代码

  

About

751论文网手机版...

主页:http://www.751com.cn

关闭返回