Microsoft MVP성태의 닷넷 이야기
TFS : 159. TFS 프록시 서버 동작 방식 [링크 복사], [링크+제목 복사]
조회: 11662
글쓴 사람
정성태 (techsharer at outlook.com)
홈페이지
첨부 파일
 

How Team Foundation Server Proxy 2008 works
; http://blogs.msdn.com/tsyang/archive/2008/03/24/how-team-foundation-server-proxy-2008-works.aspx

TFS 에 대해서 잘 아시는 분들조차도,,, TFS Proxy 서버가, 인트라넷에 설치된 TFS Application Tier를 인터넷에 노출시킬 수 있는 기능을 가진 것으로 오해하는 경우가 종종 있습니다.

하지만, 직접 설치해 보면 아시겠지만... TFS Application Tier 역시 인터넷에 반드시 연결되어 있어야 한다는 것을 알 수 있습니다. 위에 소개한 토픽을 읽어보시면 실제로 TFS App Tier 에 질의가 되는 과정을 확인할 수 있습니다.

[위의 내용이 간단해서, 아예 아래에 실어봅니다.]
Ever wondering how TFS Proxy works? While this MSDN article "Team Foundation Server Proxy and Source Control" ( http://msdn2.microsoft.com/en-us/library/ms252490.aspx ) provides a great overview, this blog post will add an end-to-end story for TFS users who likes to dig into technical details.
Let's see what happens among a user (CLIENT), TFServer (SERVER) and TFS Proxy (PROXY) when the user is trying to downloading a file from TFServer.
  1. CLIENT authenticates with SERVER.
    1. SERVER terminates connection if authentication failed. End of story.
  2. CLIENT sends a file download request to SERVER.
  3. SERVER checks CLIENT's read permission on the requested file.
    1. SERVER reports "file does not exist" if CLIENT has no read permission. End of story.
  4. SERVER sends a download ticket for the requested file to CLIENT.
  5. CLIENT sends the download ticket to PROXY and wait for PROXY to return the requested file
  6. PROXY checks whether the requested file is already cached.
    1. PROXY returns the requested file to CLIENT if it is already cached. End of story.
  7. PROXY service account authenticates with SERVER
    1. SERVER terminates connection if authentication failed. PROXY reports error to CLIENT. CLIENT will download directly from SERVER. End of story.
  8. PROXY asks SERVER for the location of VersionControl services.
  9. SERVER checks whether PROXY service account has read permission on server-level information.
    1. SERVER terminates connection if PROXY service account has no read permission on server information. PROXY reports error to CLIENT. CLIENT will download directly from SERVER. End of story.
  10. SERVER tells PROXY where VersionControl services are.
  11. PROXY uses CLIENT's download ticket to download the requested file from SERVER.
  12. PROXY caches the requested file.
  13. PROXY returns requested file to CLIENT. End of story.

Highlights:

  1. SERVER always checks repository read permission against CLIENT, not PROXY service account.
  2. SERVER always checks server-level information read permission against PROXY service account; and that is the only permission PROXY service account ever needs.
  3. PROXY can save SERVER resources by serving CLIENT's downloading request when the requested file is already cached.

In other words:

  1. PROXY and SERVER are binded at the server-level, not team project level.
  2. PROXY does not act as a surrogate for SERVER; PROXY only does caching and all permission checking is done by SERVER.
  3. PROXY service account can simply be placed in a server-level group, e.g. "[Server]\Proxy Service Accounts", without any extra security configuration. This effectively grants PROXY service account read permission on server-level information.
    1. Adding PROXY service account to either TFServer Admin group, TFServer service account group, or any team project group will also grant PROXY service account read permission on server-level infromation; however, this practice is not recommended because it gives PROXY service account more permissions than it needs.







[최초 등록일: ]
[최종 수정일: 3/25/2008]


비밀번호

댓글 작성자
 




1  2  3  4  5  6  7  8  9  10  11  12  [13]  14  15  ...
NoWriterDateCnt.TitleFile(s)
875정성태11/9/200710333.NET : 66. 한 눈으로 확인하는 .NET 데이터 액세스 계층
874정성태11/6/200711390Debug : 30. OpenFileDialog 사용시 메모리 사용이 급격하게 올라가는 문제
873정성태11/6/200710464Debug : 29. WinDBG - 명령어 !IToldYouSo
872정성태11/3/200710572Debug : 28. Debugger Visualizer - DynamicMethod / MethodInfo [1]
871정성태10/31/200710783TFS : 141. VS.NET 2008 - 개선된 WorkItem 기능
870정성태10/31/200710456TFS : 140. TFS to TFS Migration Tool
869정성태10/31/200710599.NET : 65. ASP.NET 을 어셈블리 언어로.
868정성태10/30/200710824.NET 3.0 : 23. 카드 스페이스 - SSL 없이도 구현가능.
867정성태10/30/200710720.NET : 64. CAB(Composite Application Block) 에 접근하고 싶으세요?
866정성태10/28/200710664개발 환경 구성: 115. VPC 를 이용한 AD 네트워크 구성
865정성태10/27/200710825.NET : 63. Singleton 패턴 구현
864정성태10/23/200710850TFS : 139. 단위 테스트를 MTA로 실행하도록 설정 [1]
863정성태10/20/200710592VisualNDepend
862정성태10/20/200710099.NET : 62. CAB 성능 향상 팁
861정성태10/20/200710479Debug : 27. SOS 를 이용하여 .NET Finalizer 디버깅
860정성태10/18/200710471TFS : 138. 팀 규모에 따른 물리 서버의 용량
859정성태10/16/200711388개발 환경 구성: 114. Eric Gunnerson 의 WiX 관련 포스트들 [3]
858정성태10/16/200710710.NET : 61. 메서드 안에서 정의된 블록 내부의 변수에 대한 범위
857정성태10/9/200710328TFS : 137. 특정 버전의 소스로 팀 빌드하는 방법
856정성태10/8/200711715.NET 3.5 : 32. ReaderWriterLock 과 ReaderWriterLockSlim 의 성능 비교.
855정성태10/5/200710459개발 환경 구성: 113. Virtual PC - 처음 생성한 VHD 파일의 크기를 바꿀 수 있을까?
854정성태10/3/200710331TFS : 136. Operations Guidance for Team Foundation Server
853정성태10/2/200710719.NET 3.5 : 31. ToJSON 확장 메서드 구현
852정성태9/30/200711845IIS : 18. IIS 7.0 의 FTP 서비스를 위한 방화벽 설정
851정성태9/27/200710882TFS : 135. TFS 2008 용 빌드 알림 도구
850정성태9/26/200710151TFS : 134. Visual Studio Team System Web Access 2008 파워툴 CTP
1  2  3  4  5  6  7  8  9  10  11  12  [13]  14  15  ...