Home  >  Article  >  Backend Development  >  git管理PHP项目,怎么能保护代码安全

git管理PHP项目,怎么能保护代码安全

WBOY
WBOYOriginal
2016-06-06 20:46:071107browse

公司现在用git来管理PHP语言开发的项目,为了防止代码泄露,怎么讲PHP的代码进行加密?

回复内容:

公司现在用git来管理PHP语言开发的项目,为了防止代码泄露,怎么讲PHP的代码进行加密?

如果项目是商业级的最好是不要放到外部服务器或者别人的托管服务。肯定是放在公司内部网络 有自己的代码托管服务器。

git只是一个版本管理工具,代码泄露关git什么事。用gitolite之类的控制好权限,不随便给人用不就行了。

团队自己搭一个 gitlab 即可。
GitLab | Open Source Git Management Software

使用PHPBeast加密,然后选择自建git服务器,也可以用ionCube或者Zend Guard

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn