Solved

Network authentication on IIS 8

Posted on 2015-01-11
4
58 Views
Last Modified: 2015-02-05
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
Comment
Question by:gdemaria
  • 2
  • 2
4 Comments
 
LVL 29

Expert Comment

by:becraig
ID: 40543719
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
 
LVL 39

Author Comment

by:gdemaria
ID: 40549966
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
 
LVL 29

Accepted Solution

by:
becraig earned 500 total points
ID: 40550006
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
 
LVL 39

Author Comment

by:gdemaria
ID: 40578108
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

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

First of all, clustering IIS is something you should rarely consider doing. In almost all cases, Microsoft Network Load Balancing (NLB) (http://technet.microsoft.com/en-us/library/cc758834(WS.10).aspx) is a much better solution when you need to p…
Debug Tools to analyse IIS process: This article focus on taking memory dumps from IIS to determine which code is taking more time and to analyse which calls hangs/causes more CPU usage. To take dumps,download the following. Install1: To st…

713 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question