title: TFS restrict access
body: <p>We are using VS 2012 with TFS 2012.
  We want to prevent some users to view  particular source files in a project,
  We know how do this,Actually by right clicking on the files on the source control window and manage permissions in security tab.
  The problem is that when we prevent a user to  view or change a file such as HomeController.cs
  the user can't build the project and the vs IDE says that the file does not exist,</p>
  
  <p>How we prevent access a file with the ability of  successful building project for the user</p>