Team Foundation Server, Authentication, and Access
You can configure your deployment to help secure the connections between your users and your deployment of Visual Studio 2010. Visual Studio Team Foundation Server can support Basic authentication, Digest authentication, and certificates. Therefore, you can configure your deployment of Team Foundation Server to use Hypertext Transfer Protocol Secure (HTTPS) with Secure Sockets Layer (SSL) and either Basic or Digest authentication. If you adopt this strategy, your users can connect more securely to your deployment without having to use virtual private network (VPN) connections.
Configurations
To support more secure external connections to your deployment of Team Foundation Server, you must configure Internet Information Services (IIS) to enable Basic authentication, Digest authentication, or both. You should also configure any external connections to require certificates.
Basic Authentication and Digest Authentication
Basic authentication is part of the HTTP 1.0 specification and uses Windows user accounts. During Basic authentication, the browser prompts the user for a user name and password and then transmits that information across HTTP using Base64 encoding. By default, Basic authentication requires the Windows user account to have local logon rights at the web server. You can use Basic authentication in both workgroup and domain deployments. Most web servers, proxy servers, and web browsers support Basic authentication, but it is not secure. Because data that is encoded with Base64 is easy to decode, Basic authentication is essentially sending the password as plaintext. By monitoring communications on the network, a malicious user can easily intercept and decipher these passwords by using publicly available tools. To improve security, you should consider using HTTPS with SSL.
Digest authentication is a challenge/response mechanism that sends a digest (also referred to as a hash) instead of a password over the network. During Digest authentication, IIS sends a challenge to the client to create a digest and then send that digest to the server. As a response to the challenge, the client sends a digest that is based on the user's password together with data that is known both to the client and to the server. The server uses the same process as the client to create its own digest, with the user information obtained from Active Directory. IIS authenticates the client only if the digest that the server creates matches the digest that the client creates. You can use Digest authentication only in Active Directory deployments. By itself, Digest authentication is only a small improvement over Basic authentication. A malicious user could record communication between the client and the server and then use that information to replay the transaction. Digest authentication also has dependencies on the HTTP 1.1 protocol, which not all web browsers support. Moreover, attempts to access Team Foundation Server will fail if you do not configure Digest authentication correctly. Do not choose Digest authentication unless your deployment meets all the requirements for that mode. For more information, see the following page on the Microsoft website (Digest Authentication (IIS 6.0)).
Limitations
In addition to the domain and workgroup requirements that were mentioned earlier in this topic, both Basic and Digest authentication are insufficient by themselves to provide network security for external clients. Therefore, you should not configure Team Foundation Server to support external clients unless you also configure these connections to require HTTPS with SSL.
See Also
Concepts
Team Foundation Server Architecture
Other Resources
Securing Team Foundation Server with HTTPS and Secure Sockets Layer (SSL)