Solved

Network authentication on IIS 8

Posted on 2015-01-11
4
59 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

737 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