title: Configuring NuGet server to use Authentication
body: <p>The <a href="http://docs.nuget.org/docs/release-notes/nuget-1.5#Support_for_Repositories_that_require_authentication">release notes</a> for NuGet 1.5 state</p>
  
  <pre><code>NuGet now supports connecting to private repositories that require basic 
  or NTLM authentication.
  </code></pre>
  
  <p>However, the link contained in there simply leads to the <a href="http://docs.nuget.org/docs/creating-packages/hosting-your-own-nuget-feeds">hosting your own nuget feeds</a> page, without any further mention of how to set up authentication. </p>
  
  <p>I would like to set up a NuGet server that is accessible via https from the internet, but only allows people who can successfully authenticate to view or download the packages on the server. </p>
  
  <p>I did create an application without auth as described in the <strong>Creating Remote Feeds</strong> section in the <a href="http://docs.nuget.org/docs/creating-packages/hosting-your-own-nuget-feeds">documentation</a>, and it works nicely on the intranet. What do I have to do to enable authentication on this repo? </p>
  
  <p>An additional requirement would be that solution should not cost hundreds of dollars (the first two answers promote products that might solve the problem but cost a lot).</p>