Microsoft MVP성태의 닷넷 이야기
TFS : 159. TFS 프록시 서버 동작 방식 [링크 복사], [링크+제목 복사]
조회: 11569
글쓴 사람
정성태 (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)
1129정성태2/14/201114498.NET : 113. Running .NET applications in-process using AppDomains
1128정성태2/13/201115152개발 환경 구성: 143. Visual Studio 소스 서버 보안 경고창 없애기
1127정성태2/5/201114432개발 환경 구성: 142. Internet Explorer 6, 7, 8, 9 테스트 - 다중 XP Mode
1126정성태1/28/201120053개발 환경 구성: 141. 키보드 매핑을 바꾸는 레지스트리 설정파일 다운로드1
1125정성태12/24/201013417VS.NET IDE : 59. Visual Studio 2010 - 웹 프로젝트의 Web.debug.config / Web.Release.config 기능을 일반 프로젝트에 적용하는 방법
1124정성태11/16/201022131개발 환경 구성: 140. 대용량 파일 고속 전송: Rapidant
1123정성태11/11/201012084Web : 8. IE 9 플랫폼 프리뷰 6 + IE 9 베타
1122정성태11/9/201012629개발 환경 구성: 139. RemoteFX - USB Rediection
1121정성태11/6/201011559.NET : 112. The F# PowerPack, with F# Compiler Source Drops
1120정성태10/20/201013145Web : 7. Internet Explorer - Browser Mode 와 Document Mode
1119정성태10/9/201012288IIS : 32. Steps for setting up a custom identity of an IIS 6 application pool
1118정성태9/17/201010993Web : 6. Internet Explorer 9 Beta Guide for Developers
1117정성태8/25/201011480.NET : 111. Azure CDN Guide Available
1116정성태8/24/201011246Web : 5. IE 9 - UI 보더 변경에 따른 2-pixel 변화
1115정성태6/18/201013031개발 환경 구성: 138. 프로세스 덤프를 하는 다양한 방법
1114정성태6/1/201011428.NET : 110. C#5 and Meta-Programming [1]
1113정성태4/27/201012276VS.NET IDE : 58. Visual Studio 2010에 기본 내장된 WPF Tree Visualizer
1112정성태4/15/201012020개발 환경 구성: 137. How to enable remote connections in SQL Server 2008?
1111정성태4/2/201010401VS.NET IDE : 57. Simulating Peak Load with VS Load Tests
1110정성태3/30/201011334Windows 7: 4. Windows 7 / R2부터 제공되는 NT 서비스 전용 계정
1109정성태3/17/201012104개발 환경 구성: 136. SCVMM에서 VM을 Template로 만들어서 Library에 넣은 후 새로운 VM 배포하기
1107정성태3/1/201011664.NET : 109. .NET 4.0에서 obsolete로 처리되는 타입
1106정성태2/24/201012275IIS : 31. Microsoft Application Request Routing (ARR)과 TFS App Tier
1105정성태2/9/201011422Debug : 46. 프로세스 종료 시 덤프 남기는 방법
1104정성태1/26/201011566Debug : 45. Debugging References with Graph Visualizations
1103정성태11/18/200910669개발 환경 구성: 135. How to Configure WPL v1.0 SRE
1  2  [3]  4  5  6  7  8  9  10  11  12  13  14  15  ...