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
9
votes
0 answers

How to authenticate an Angular 7 SPA using kerberos single sign on against AD using tomcat or nginx on linux

I am develoing in a corporate AD environment and want to setup SSO using Kerberos for an Angular 7 web application. Our server infrastructure is Linux/RHEL so IIS is not an option, Tomcat Apache or Nginx are most likely to enact kerberos sso…
9
votes
1 answer

Custom 401 error page for ASP.NET MVC application

I created an ASP.NET MVC application that uses integrated Windows Authentication. The following authorization logic was implemented: Try to get account credentials from active directory through NTLM. If credentials are received and the Windows…
Alexander
  • 4,420
  • 7
  • 27
  • 42
9
votes
2 answers

Redirect to custom Windows Authentication login page if user anonymous in ASP.NET MVC

I have an ASP.NET MVC intranet site using Windows Authentication. It's set up from the default project for ASP.NET MVC using Windows Authentication. I've been struggling with finding information on overriding the default login popup if a user is not…
9
votes
3 answers

angular cli + windows authentication backend

I created an Angular CLI project with a proxy reference to my backend project that contains the web api services. launchSettings.json (backend project): ... "iisSettings": { "windowsAuthentication": true, "anonymousAuthentication": false, …
Mcanic
  • 1,304
  • 16
  • 22
9
votes
1 answer

Windows Executable File Authentication

Searching around the windows authentication methods and protocols, i decided to understand the exact difference between Negotiate, Kerberos, and NTLM used in a simple executable file before liking it with IIS and Web Authentication. I reached to…
9
votes
2 answers

Windows authentication of an application hosted in Windows Container

I would like to use Windows authentication to access an ASP.NET application, hosted in a Windows Container (in Windows Server 2016 TP4). For this, I presume I need to add the container to the Active Directory domain. Is it all possible to add a…
9
votes
2 answers

Setting Up Windows Authentication for Apache

To begin, I've been searching the internet for about an hour trying to find out how to do this with no success - therefore I'm writing this question. I have an intranet site that requires to access the users Windows Username (not the server running…
9
votes
4 answers

How to get the current application pool user in IIS when using impersonate=true?

In .net when a website hosted in IIS how do you get the current user the website is running under. ie the Application Pool user not the the current user accessing the site. Using windows integrated and impersonate.
Simon
  • 33,714
  • 21
  • 133
  • 202
9
votes
3 answers

IIS7 Mixed Mode Authentication

We're getting ready to start migrating some of our IIS6 sites to IIS7, and the application currently uses Forms Authentication. We have started getting some requests from various sites to use the Windows Authentication for the users. While this is…
jcolebrand
  • 15,889
  • 12
  • 75
  • 121
9
votes
4 answers

SQL Server and windows authentication in IIS7

I'm trying to get an ASP.NET website running on Vista (IIS7), using SQL Server and Windows Authentication. No matter what I do, when I connect to the database, I get the exception: SqlException was unhandled Login failed for user…
gerrod
  • 6,119
  • 6
  • 33
  • 45
9
votes
1 answer

Hybrid of Windows Authentication and Forms Authentication in ASP.NET MVC 4

We have an ASP.NET MVC 4 intranet application. We’re using Windows Authentication and that aspect works fine. The user’s credentials are used and we can access those credentials from the web app. What we really want is some sort of hybrid mode,…
Pete
  • 6,585
  • 5
  • 43
  • 69
9
votes
3 answers

Nodejs or ExpressJS Windows Authentication

I would like to authenticate a windows user in NodeJS app. Is there any add-on for this yet ? There is node-krb5 but it doesn't support windows yet.
lostpacket
  • 1,383
  • 8
  • 26
  • 38
9
votes
2 answers

ASP.NET Active Directory Search

I'm trying to create an intranet Website on ASP.NET MVC 4 using Windows Login. I have successfully done the windows login. The only thing I am stuck up with is searching the active directory with partial username. I tried searching the web and…
9
votes
1 answer

Un-remember Remote debugger credentials

Now I've been doing some remote debugging on my surface using the Visual Studio Remote Debugging Monitor. I've been using windows Authentication to connect to the remote debugging monitor, and it's been working successfully. Today, started up the…
9
votes
1 answer

Windows Authentication via Web Request C++ / Node.js

Problem I want to be able to use Windows Authentication with Node.js. I understand that IIS handles Windows Authentication in ASP.NET, however what I can't figure out is, how I can get at the current Client Windows username from node.js. I get that…
mrdnk
  • 656
  • 9
  • 24