Hide / Block uses file / folder access / download in VS2008 solution with TFS?

Is it possible to hide / lock files / folders in VS2008 solution for different users (by their NTDomainName) if the solution is under TFS?

I have a few files and a folder containing classified information (like release.web.config, etc.) that I need as part of our RELEASE compilations, but I don't want some new contractors to be able to see / get hands on. for security reasons.

Is it possible?

+1


source to share


1 answer


If you open the source control explorer and right click on the file / folder, you can edit the security permissions for the file and control who can read or edit the file. Note that if the user does not have read permission on the file, they do not even see that it exists.

If you do, you probably won't want to include release.web.config as part of your solution / project, as it will show it as missing in Solution Explorer for people who didn't have access.



Note that due to the fact that the file disappears when you do not have read permission, there are several caveats in the dialog box. It's easy enough to remove permissions for everyone to read this file (including yourself), which leaves you a little stuck if you want to give yourself permission again, as you won't be able to see the file to set the permissions again (see http: // www .woodwardweb.com / vsts / dont_do_that.html ).

If you play around with security settings, you accidentally remove access to yourself in order to view the file, then the path to it is to log in to the TFS server as an account with local administrator rights and TFS administrator rights (user tfssetup) and then you be able to see the file to change the permissions again.

0


source







All Articles