Thursday, 28 January 2010

IIS7 and basic authentication

I needed to use basic HTTP authentication to secure a site instance as it required pulic access for a demo.

However, in IIS7, the only authentication modes listed are the default Forms, Anonymous and ASP.NET Impersonation.

To solve this, I had to install the basic authentication module for IIS.

For Server 2008:
  • Server Manager -> Roles -> Web Server -> Add Role Services

For Vista and Windows 7:
  • Control Panel -> Programs -> Turn Windows features on or off

Then navigate to: Internet Information Services -> World Wide Web Services -> Security
Enable the Basic Authentication option

No comments: