Solved

Network authentication on IIS 8

Posted on 2015-01-11
4
57 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Logparser is the smartest tool I have ever used in parsing IIS log files and there are many interesting things I wanted to share with everyone one of the  real-world  scenario from my current project. Let's get started with  scenario - How do w…
What is an ISAPI filter?   •      It's an assembly (.dll file) that can add or change the way IIS works.   •      They can be enabled globally for your web server or on a site-by-site basis.   When the IIS server receives a request, enabling the ISAPI fi…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…

825 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