Microsoft MVP성태의 닷넷 이야기
TFS : 159. TFS 프록시 서버 동작 방식 [링크 복사], [링크+제목 복사],
조회: 11685
글쓴 사람
정성태 (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]


비밀번호

댓글 작성자
 




... 16  17  18  19  20  21  22  [23]  24  25  26  27  28  29  30  ...
NoWriterDateCnt.TitleFile(s)
625정성태2/2/20079575TFS : 73. Team System 관련 유틸리티 목록
624정성태2/1/200710729개발 환경 구성: 72. Fiddler - IE 7 + Cassini 에서 동작되지 않는 문제 [2]
623정성태2/1/20079924TFS : 72. TFS 언어 변경
622정성태1/30/20079530.NET : 53. ASP.NET 2.0 AJAX Extension 1.0 - 소스 코드
621정성태1/30/200710103TFS : 71. Code Analysis 정책을 유형에 따라 적용하는 방법
620정성태1/29/200710784VS.NET IDE : 17. C#, VB.NET, VC++ 단축키 모음
619정성태1/28/200710324IIS : 12. 비스타 버전별 IIS 기능 차이
618정성태1/28/20079562Debug : 8. RuntimeWrappedException 사용 이해
617정성태1/27/200710068TFS : 70. 웹 서비스 구현 없이 TFS 통지 받기파일 다운로드1
616정성태1/27/200710770IIS : 11. Visual SourceSafe 웹 서비스가 비스타 IIS 7에서 지원되지 않는 문제
615정성태1/25/20079921TFS : 69. Workgroup 으로 설치된 TFS 를 Domain 으로 승격하는 방법
614정성태1/25/200710530개발 환경 구성: 71. 현재 프로세스에 로딩된 모듈 중에서 NGen 되지 않은 모듈 검색
613정성태1/25/200710448IIS : 10. IE에 최적화된 성능을 내는 JScript 코드 작성
612정성태1/25/20079554Debug : 7. WinLogon.exe 프로세스 디버깅하는 방법
611정성태1/25/200710013.NET : 52. Team System 단위 테스트에 관한 PDF 문서파일 다운로드1
610정성태1/25/20079977.NET : 51. FxCop 관련 PDF 문서파일 다운로드1
609정성태1/24/20079679.NET : 50. 공급자 독립적인 코드 작성 [2]
608정성태1/23/20079842TFS : 68. TFS Proxy 서버 설치하는 방법
607정성태1/23/20079472이미 제공되는 예외 클래스들에 대한 적절한 사용법 설명
606정성태1/23/200712426TFS : 67. TFS 명령행 인자
605정성태1/23/20078869TFS : 66. 차기 TFS 파워툴 - TFSServerManager / TFSServerMonitor
603정성태1/22/200710003Vista : 30. Property Handler가 필요한 때.
602정성태1/22/200710240IIS : 9. 디렉터리 열람을 위한 HttpModule파일 다운로드1
601정성태1/22/20079331개발 환경 구성: 70. Web Client Software Factory 설치 가이드(비스타)
600정성태1/21/20079812개발 환경 구성: 69. Virtual PC/Server에서의 가상 네트워크 어댑터 추가 방법
599정성태1/21/200710096Vista : 29. UAC 와 보안 데스크탑
... 16  17  18  19  20  21  22  [23]  24  25  26  27  28  29  30  ...