Suppose we have a machine shared by many developers. Developers have access to different parts of the project, they don’t see all the same complete source code. Suppose also that we use this shared machine even to test job interviewer on some test programs.
How do we protect source code in the local workspaces? I mean, we wouldn’t want that developers/job interviewer are able to see/copy what they are not allowed to. We use Visual Studio & TFS 2012 in a Windows environment.
Thanks.
If your users do not have admin permissions, you could store the workspace in the users profile. So it is only accessible for them (and administrators). But you should be careful with this, because the size of the profile could grow extremely, which would have effect to your login time on other machines. Also some companies set a max size for profiles, which could be exceeded fast using this method.
Another option would be to store the workspace on a network share, which has personalized permissions.