• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 63
  • Last Modified:

Network authentication on IIS 8

I am moving from IIS 6 to II 8 and having trouble finding one of the features I used to use.

For certain sites, I protected the site with an extra layer by turning off automatic authentication.  This produced a network login where the user would enter the username/password of a windows user in order to even view the site.   I cannot seem to replicate this on IIS 8, if the concept is different, please advice.  I would like to have a login appear before the user can access the page.

Please describe best practice and how to achieve it.
Thanks very much!
0
gdemaria
Asked:
gdemaria
  • 2
  • 2
1 Solution
 
becraigCommented:
I assume you mean Basic Authentication
If it is not yet present, run the below from an elevated prompt then reload the iis manager and try again

dism /online /enable-feature /featurename:IIS-BasicAuthentication
0
 
gdemariaAuthor Commented:
hmmm, if the feature is turned off, it is likely for a good reason.
Is there a new way of doing this?

My objective is to make some websites unavailable to the general public unless the user has a password.  THis could be used for showing development/staging sites (not yet live) or to allow access to admin only areas, etc.
0
 
becraigCommented:
As indicated above it is sometimes not turned on out of the box.

Generally people either use network auth nowadays or some other app based authentication as a second layer on top of anonymous access.
Setting up Basic Auth or Domain based authentication would do exactly what you need though.

Being switched off out of the box is due to the fact that basic auth transmits in the clear (unencrypted) so you may want to use SSL if this is for any valid production use, if simply for testing then you should be ok.


Also yes, things have changes in IIS8
You can also turn this on by adding the server manager feature and running:
Import-Module ServerManager
Add-WindowsFeature Web-Basic-Auth
0
 
gdemariaAuthor Commented:
Is there a new alternative to turning on Basic Authentication?

I don't care what "feature" I use if this one is no longer the best choice.   I just want a login before reaching the site.


How do you do "network auth" ?
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now