17

I'd like to use basic HTTP authentication to keep people out of our dev site instance since it is unfortantly exposed to the wild internet.

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

Where did the "Basic Authentication" module go, and how can I get it back?

28

You might have to install the basic authentication module for IIS.

For vista it is: Control Panel -> Programs -> Turn Windows features on or off

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

Then in the treeview it is: Internet Information Services -> World Wide Web Services -> Security - > Basic Authentication

Click the checkbox and install. Then you should be able to see the basic authentication option.

  • 1
    Note that you'll likely need to close and reopen IIS Manager to see the new authentication option. – jstricker Jan 20 '16 at 18:34
1

To add using PowerShell you can use the following command:

Import-Module ServerManager
Add-WindowsFeature Web-Basic-Auth
  • In Windows Server 2012, this worked perfectly for me. – epotter Feb 3 '13 at 3:55
0

TechNet is your friend :)

IIS 7.0: Configure Basic Authentication

  • Where is says to select Basic Authentication - that option is missing :| – FlySwat Jun 22 '09 at 3:06
  • Open Control Panel -> Programs and Features -> Turn windows features on or off -> Scroll down to IIS, expand all of the nodes to find the ‘Security’ node within there and look for “basic authentication”. Check the box, then click OK. – Sean Earp Jun 22 '09 at 3:35
  • 2
    The TechNet page doesn't mention the fact that the feature has to be enabled before it can be configured. – dfjacobs Apr 15 '12 at 2:41

protected by Community May 1 at 6:01

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.