Solved

Network authentication on IIS 8

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

Expert Comment

by:becraig
Comment Utility
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
Comment Utility
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 28

Accepted Solution

by:
becraig earned 500 total points
Comment Utility
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
Comment Utility
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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
HTTP error 24 47
SMTP Relay Issue 12 82
Find the process for IIS in Task Manager for Windows Server 4 36
ip / url redirect 13 56
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…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

728 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now