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

3028 questions
11
votes
5 answers

CORS preflight request returning HTTP 401 with windows authentication

I searched a lot on Google and Stack overflow to find a solution for my problem, but nothing worked. Here is my problem: I use IIS 7 with a special programming environment called WebDEV that does not allow direct manipulation of OPTIONS HTTP…
AhmadWabbi
  • 2,253
  • 1
  • 20
  • 35
11
votes
2 answers

ASP.NET Web.config authentication/authorization settings

I'm trying to configure the IIS Authentication settings from my MVC5 project in the Web.config file. Here's what I have. I want Windows Authentication enabled and Anonymous Authentication disabled. But after publishing my package in IIS, the…
11
votes
1 answer

WebApi with OWIN SelfHost and Windows Authentication

I have a console application SERVER that hosts WebApi controllers using OWIN self-hosting, and runs under a custom account named "ServiceTest1". In the same machine I have another console application CLIENT that runs under the account…
vtortola
  • 34,709
  • 29
  • 161
  • 263
11
votes
4 answers

Network Authentication when running exe from WMI

I have a C# exe that needs to be run using WMI and access a network share. However, when I access the share I get an UnauthorizedAccessException. If I run the exe directly the share is accessible. I am using the same user account in both…
Andy
  • 307
  • 4
  • 13
11
votes
1 answer

ASP.NET passing along Windows Authentication credentials

I've got an ASP.NET web application which uses Windows Authentication. This application needs to connect to another ASP.NET web service (which also uses Windows Authentication) and use the same credentials that it received from the user's browser.…
Vilx-
  • 104,512
  • 87
  • 279
  • 422
10
votes
1 answer

Error connecting to WCF service with Windows security

I have a client connecting to a WCF service using the following on both endpoints: This works in my dev environment (both running locally) and the negotiation works…
mortware
  • 1,910
  • 1
  • 20
  • 35
10
votes
1 answer

Getting the logged in username in ASP.NET MVC3 intranet application

I am working on a MVC 3 intranet application ( windows authentication ). The application must display the profile page of the user once a user logs in. In order to do that the username of the logged in user must be passed in as a route parameter in…
phabtar
  • 1,139
  • 1
  • 11
  • 16
10
votes
1 answer

ASP.NET Core - Authorization Using Windows Authentication

I have configured my web api to work with windows authentication. My goal is essentially to restrict certain actions in my controllers based on a users windows account. Some will be able to preform read actions while others will be able to preform…
LCaraway
  • 1,257
  • 3
  • 20
  • 48
10
votes
2 answers

Asp.Net Core Windows Authentication Not Working in IIS

Asp.Net Core doesn't seem to recognize the user from the call context?.User?.Identity?.Name when windows authentication is enabled and running in IIS Express or IIS. Desired behavior: Enabling both Windows authentication and anonymous…
10
votes
1 answer

HAProxy with https and kerberos

I'm trying to implement a reverse proxy in our system, for a micro-services architecture. The proxy server is HAProxy that works with SSL Termination and needs to proxy requests to a backend server with Https and Kerberos authentication. I…
10
votes
2 answers

ASP.NET Core and on premise AD authentication

I'd like to try and use ASP.NET Core MVC or Web API at my workplace but we have just Active Directory to authentication and authorization. Is there any solution to solve it with an on premise AD or we have to change for Java? I know this question is…
10
votes
3 answers

Asp.net Core Web API - Current user & Windows Authentication

We have following technical stack in our application AngularJS2 Asp.Net Core API SQL Server Now we need to store User Name for the Logged in User in table during Create/Edit for given item i.e. in Core API. We have tried with…
Manish Joisar
  • 1,256
  • 3
  • 23
  • 47
10
votes
2 answers

Connecting to MSSQL server in PHP using integrated authentication

I have XAMPP running on an MS Server 2012 R2. I need to make a connection to an MSSQL server which accepts only integrated win authentication. If I simply try the below, I get a login failure and an error log on the SQL Server that SQL…
fishmong3r
  • 1,414
  • 4
  • 24
  • 51
10
votes
5 answers

Accessing sharepoint in R with windows authentication

I am trying to read data from my company intranet sharepoint. require(httr) url <- "http:////_vti_bin/ListData.svc/" r <- GET(url) The problem is, access to Sharepoint uses Windows authentication. The above, expectedly,…
Ricky
  • 4,616
  • 6
  • 42
  • 72
10
votes
5 answers

Turn off / Disable windows authentication for asp.net-mvc

I created a new asp.net-mvc project and during setup I chose to use Windows Authentication. Now I like to turn it off(at least for a while). I changed the web.config to this But that does change anything. It will…
Jepzen
  • 2,942
  • 6
  • 40
  • 62