有什么方法可以在开发过程中保护我的代码,这样如果开发人员离开我的公司,他们就无法访问我项目中的文件?
Is there any way to protect my code during development so that if a developer leaves my company they are unable to access files in my project?
这对于 TFS 尤其重要,因为 TFS 将项目下载到本地、缓存并可供离线使用.理想情况下,如果他们没有有效的 Active Directory 用户 ID,代码将不可读.
This is especially important with TFS where the project is downloaded locally, cached, and available for offline use. Ideally the code would be unreadable if they did not have a valid Active Directory user ID.
即使这个想法是不可能的,我也想了解你能想到的任何实用的威慑...
Even if this idea is not possible, I'd like to learn of any practical deterrent you can think of...
推荐答案您必须向开发人员扩展某种形式的信任.如果你不能相信他们不会带走源代码,你怎么能相信他们不会在你的系统中构建后门之类的东西?
You have to extend some form of trust to your developers. If you can't trust them not to take source code with them, how can you trust them not to build back doors and the like into your systems?
此外,如果他们要处理代码,他们将需要访问它,如果他们能够访问它,他们几乎肯定可以复制它.您可以尝试限制它,但是您要提前超越一群只需要找出您犯的错误的人.此外,公然不信任您的开发人员无论如何也无济于事.
Moreover, if they're going to work on code, they're going to need access to it, and if they get access to it they can almost certainly copy it. You can try to limit it, but it's you trying to outthink in advance a group of people who only need to find one mistake you made. Besides, overtly distrusting your developers isn't going to help you anyway.
您的代码中是否内置了实际的商业秘密?如果是这样,您可能需要重新考虑.如果不是,它在别人手中会造成多大的伤害?他们不能合法地使用它,而离开的开发人员通常也能写出类似的东西.
Are there actual trade secrets built into your code? If so, you might want to rethink that. If not, how much harm will it do in somebody else's possession? They can't legally use it, and the developers that leave will often be able to write something similar anyway.
为此,您需要法律保护,而不是技术保护.
For this, you want legal protection, not technical.
更多推荐
在开发过程中防止源代码被盗
发布评论