如何防止克隆我的github存储库? [英] How can I prevent the cloning of my github repository?

查看:339
本文介绍了如何防止克隆我的github存储库?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试一种方法来防止从github存储库进行克隆,例如,我有一个私有存储库,并且有人在公司计算机中工作,其中设置了您团队中的每个人和设置的授权级别. /p>

当我在github上为某个用户设置授权时,该存储库可以在他/她自己的github帐户上使用,以查看和执行所需的操作,因为从任何地方都可以对其进行授权.

如何避免有人在您自己的计算机上克隆存储库?尝试找出某人出于某种原因打算离开公司,但在此之前,他/她克隆了公司存储库以在其他地方使用.由于他/她在删除权限后将无法在远程进行更改,因此避免克隆将解决我的安全问题.

解决方案

您不能.

您不能以这种方式配置githubs git服务器.更确切地说,它是github的自动化功能,只能由传入事务触发.不是git交易,而是金融交易. :-)

I'm trying to figure a way to prevent clone from github repository, for example, I have a private repository and some people working in that, in a company computer, each one in your team and authorization levels setted up.

When I set authorization for some user on github, the repository is avaiable on his/her own github account, to see and do what want since is authorized from anywhere.

How can I avoid someone to clone the repository on your own computer? Try to figure out someone is planning to get out the company for some reason, but before that hi/she clone the company repositories to use somewhere else. Since he/she will be unable to make changes on remote after I remove permission, avoiding clone will solve my security concerns.

解决方案

You can't.

You can't configure githubs git server on this way. More exactly, it is an automatized feature of the github, which can be triggered only by an incoming transaction. Not git transaction, but financial transaction. :-)

这篇关于如何防止克隆我的github存储库?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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