Solved

IIS Windows Authentication - Local Dev Machine not on a Domain but Workgroup?

Posted on 2013-05-22
3
1,399 Views
Last Modified: 2013-06-13
Hello all,

I am testing some application stuff using an MVC application where I have authentication mode as Windows.    Once I deploy to IIS 7, I have enabled Windows Auth and disabled Anonymous auth.  However, now everything I try to run the site I get prompted for username and password credentials.  I assume this is because I am home and on my local machine not on a domain but setup as Workgroup.   Is this correct and is there a way to set this up so I can truely test windows auth like it would work at work?
0
Comment
Question by:sbornstein2
3 Comments
 
LVL 34

Expert Comment

by:Paul MacDonald
ID: 39191002
You're being prompted for credentials because you need to authenticate to the web site.  This is what you've instructed the web site to do.  Whether or not there is a domain is irrelevant.
0
 
LVL 16

Accepted Solution

by:
gurutc earned 250 total points
ID: 39191018
it's going to be almost impossible to make this work.  When you have an AD domain the netbios name has an equivalence to the FQDN domain name configured in IIS, ie mydomain=mydomain.local.  So when a user is logged into mydomain and hits IIS that supports website.mydomain.local IIS says 'I  am mydomain.local which equals mydomain, is the user in mydomain and authenticated, because if he is I don't have to make him login to mydomain.local cuz he's already logged in to the equivalent mydomain.

You're gonna need an AD domain, I think, to make this work.  But, for what it's worth, it looks like your stuff is all working the way it should on a workgroup setup, and that means hopefully that it'll work fine with just a little tweaking when you deploy on an AD domain.

Regards, gurutc
0
 

Author Closing Comment

by:sbornstein2
ID: 39244759
thanks
0

Featured Post

Industry Leaders: 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!

Question has a verified solution.

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

Suggested Solutions

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.
For many of us, the  holiday season kindles the natural urge to give back to our friends, family members and communities. While it's easy for friends to notice the impact of such deeds, understanding the contributions of businesses and enterprises i…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…

763 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