Usman Jalil
Usman Jalil

Reputation: 192

How to Restrict Access to Certain Folders under Project on TFS Server

I have folder (Solution) on TFS/DevOps, under that solution I have 5 sub projects. I want to restrict access to 3 projects so developers will not be able to download or sync those projects folders in their local Visual Studio. But they will be able to download and work on 2 projects and then check-in the code. Is there any way I can restrict the access to those 3 projects (folders) on TFS.

Upvotes: 1

Views: 965

Answers (1)

Shamrai Aleksander
Shamrai Aleksander

Reputation: 16208

If you use GIT you can not restrict access to a folder. Consider using submodules and restricting access to referenced repositories (Git Tools - Submodules).

If you use TFVC you can restrict access to folders: Control access to Team Foundation Version Control

Upvotes: 2

Related Questions