是否可以加密存储在 SVN 中的内容? [英] Is it possible to encrypt the content stored in SVN?

查看:33
本文介绍了是否可以加密存储在 SVN 中的内容?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果我将我的源代码存储在共享托管公司的 SVN 中,是否可以对内容进行加密,即使有人确实可以访问存储库,他们也无法在普通视图中看到源代码?

If I am storing my source code in SVN on a shared hosting company, would it be possible to encrypt the content so EVEN if someone does have access to the repo they can't see the source in plain view?

有这个插件吗?否则我会想象自己实现这个会很疯狂!

Is there a plugin for this? Otherwise I'd imagine it would be crazy implementing this oneself!

推荐答案

这里的正确答案是:

  1. 寻找您信任的托管服务提供商(或者如果监管问题是问题,则是合规的)
  2. 自己主持

如果主要关心的是拥有安全的异地备份,请自己托管存储库并使用诸如 rsync.net 之类的地方处理备份(它们是 SOX/HIPAA 兼容).每 15 分钟对所有内容进行 rsync 的 cron 作业应该就足够了.cron 作业可以在推送之前加密您的备份.只是不要丢失密钥/密码.

If the main concern is having a secure offsite backup, host the repository yourself and use someplace like rsync.net to handle the backup (they are SOX/HIPAA compliant). A cron job that rsyncs everything every 15 minutes should be sufficient. The cron job can encrypt your backup before pushing it. Just don't lose the keys/passwords.

这样,Subversion 就不需要了解您的加密方案的任何信息,您可以继续工作,而不必担心偏执会影响生产力.

This way Subversion doesn't need to know anything at all about your encryption scheme, and you can go about your work without having to worry about paranoia getting in the way of productivity.

附录:

既然你在做共享主机,那么共享主机就毫无价值:获得一个专用的源代码控制主机.不要永远使用共享主机进行源代码控制.共享主机因丢失数据和对数据安全和备份做出虚假声明而臭名昭著.专用源代码控制主机的好例子:CVSDudeBeanstalkGitHub

Since you're doing shared hosting, and shared hosts are worthless: Get a dedicated source control host. Do not ever use a shared host for source control. Shared hosts are notorious for losing data and making false claims about data security and backups. Good examples of dedicated source control hosts: CVSDude, Beanstalk, GitHub

这篇关于是否可以加密存储在 SVN 中的内容?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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