Questions tagged [windows-authentication]

Integrated Windows Authentication is a term associated with Microsoft products that refers to the SPNEGO, Kerberos, and NTLM authentication protocols. Use tag with Windows authentication generally; though it might be best to use one of the more protocol-specific tags (such as Kerberos or NTLM) if the protocol being used is known.

Integrated Windows Authentication () is a term associated with Microsoft products that refers to the , , and authentication protocols with respect to functionality introduced with Microsoft Windows 2000 and included with later Windows NT-based operating systems. The term is used more commonly for the automatically authenticated connections between Microsoft Internet Information Services (), , and other aware applications.

IWA is also known by several names like HTTP Negotiate authentication, NT Authentication, NTLM Authentication, Domain authentication, Windows Integrated Authentication, Windows NT Challenge/Response authentication, or simply Windows Authentication.

Source: http://en.wikipedia.org/wiki/Integrated_Windows_Authentication

2832 questions
248
votes
10 answers

IIS Express Windows Authentication

I'm trying to use IIS Express with VS2010 to host a silverlight application. I modified my applicationhost.config file to allow for modification of the proper configuration settings. I have the following in my web.config:
155
votes
4 answers

Connection string using Windows Authentication

I am creating a website, but in the database I use windows authentication. I know that you use this for SQL authentication
MDC
  • 1,551
  • 2
  • 10
  • 3
113
votes
23 answers

Receiving login prompt using integrated windows authentication

I have a .NET 3.5 application running under IIS 7 on Windows 2003 server and cannot get integrated windows authentication working properly as I continue to get prompted for a login. I have set Windows Authentication to enabled in IIS with all other…
Casey
  • 1,305
  • 3
  • 11
  • 13
103
votes
9 answers

Authentication issue when debugging in VS2013 - iis express

I'm trying to pick up the windows username when debugging in Visual Studio 2013. I am simply using: httpcontext.current.user.identity.name If I run this on my Dev Server it works fine, if I run it in debug mode on any previous version of Visual…
91
votes
6 answers

IIS7 folder permissions for web application

I am using windows authentication without impersonation on my company's intranet website with IIS7. Under IIS7, what account is used to access the folder which contains my web app using these settings? Would it be IIS_IUSRS? Or NETWORK SERVICE? Or…
Andrew
  • 10,088
  • 14
  • 48
  • 62
71
votes
9 answers

Unable to get windows authentication to work through local IIS

So I've created a new ASP.NET MVC project using the intranet template. web.config contains the appropriate values (e.g. ). If I fire up the web app using the VS webserver, it all looks fine - the page shows my Windows…
David
  • 14,678
  • 20
  • 80
  • 145
70
votes
8 answers

No OWIN authentication manager is associated with the request

After trying to enable owin & AspNet Identity to my Web Api project (in VS 2013 + .Net 4.5.1) I get the following error in each valid or unvalid(request to none exist controller) requests : An error has…
Mahmoud Moravej
  • 8,035
  • 6
  • 40
  • 62
59
votes
6 answers

In IIS, why doesn't Window Authentication show up as one of the options for my web application?

I'm reading about how to set up windows authentication for my web application on IIS 7. In the description they have Window Authentication as an option in IIS. I have windows authenication turned on for my machine(I'm on Windows 7 Professional…
dev.e.loper
  • 34,180
  • 71
  • 151
  • 237
58
votes
13 answers

ASP.NET MVC3 and Windows Auth on IIS keeps redirecting to /Account/Login

I'm running MVC3 and a windows auth web application. When I deploy to IIS6 it runs great until I hit a page that requires authentication. It then is auto-redirecting to /Account/Login when I have no trace of that in my application and my…
56
votes
3 answers

Connecting to MS SQL Server with Windows Authentication using Python?

How do I connect MS SQL Server using Windows Authentication, with the pyodbc library? I can connect via MS Access and SQL Server Management Studio, but cannot get a working connection ODBC string for Python. Here's what I've tried (also without…
52
votes
5 answers

IIS7: Setup Integrated Windows Authentication like in IIS6

This is for IIS 7 on a Windows Server 2008 that is not part of an AD domain. I would like to password protect a website, where people have to enter a username/password (a windows account for example) to view the website. The website would then use…
Jim Geurts
  • 19,124
  • 23
  • 91
  • 105
52
votes
8 answers

ASP.NET Windows Authentication logout

How do you logout when using Windows authentication in ASP.NET like this web.config? I've already tried the following unsuccessfully. It redirects, but does not log out the user. void logoutButton_Click(object…
Robert
  • 12,819
  • 4
  • 35
  • 44
50
votes
7 answers

Mixing Forms authentication with Windows authentication

I have an (ASP.NET 3.5) intranet application which has been designed to use forms authentication (along with the default aspnet membership system). I also store additional information about users in another table which shares its primary key with…
49
votes
2 answers

Authentication failed because the remote party has closed the transport stream exception when getting a response from webservice

I am calling a third party service and when I ask for a response it throws out an exception that says "Authentication failed because the remote party has closed the transport stream exception". I think that there is a problem in sending…
Chirag K
  • 2,154
  • 2
  • 12
  • 23
49
votes
13 answers

401 response for CORS request in IIS with Windows Auth enabled

I'm trying to enable CORS support in my WebAPI project, and if I enable Anonymous Authentication then everything works fine, but with Windows Auth + disabled anonymous authentication, the OPTIONS request sent always returns a 401 unauthorized…
dariusriggins
  • 1,394
  • 1
  • 14
  • 30
1
2 3
99 100