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
30
votes
3 answers

Windows Integrated Authentication in node.js Client

When using node.js as a client, is it possible to connect to a server using Windows integrated authentication (e.g. when connecting to IIS)? My searches for this only turn up results where node.js is used as a server.
laktak
  • 57,064
  • 17
  • 134
  • 164
29
votes
7 answers

Database + Windows Authentication + Username/Password?

I have always thought that in order to connect to SQL server using windows authentication with explicitly specified credentials, you must LogonUser, Impersonate, then connect. It seems to me that this link suggests that it's possible to connect to…
galets
  • 17,802
  • 19
  • 72
  • 101
29
votes
3 answers

IIS Express HTTP Error 401.2 - Unauthorized

I have tried the suggestions in this post but I can not get Windows Authentication working with IIS Express in Vision Studio 2010. Now I get following error: Here are my applicationhost.config file entries: ...
Andy May
  • 4,030
  • 5
  • 34
  • 33
29
votes
2 answers

Getting an NTLM Challenge from an AJAX POST on just one page

Quite the mystery here. I have an ASP.NET MVC 4 web application using Windows Authentication that has been maintained for over 18 months without issue. Recently, it was deployed to a fresh site and I've encountered the following, very strange…
Lucas
  • 8,035
  • 2
  • 32
  • 45
28
votes
5 answers

Excel 2007 Pass-Through Windows Authentication

I've created a simple (asmx) web service which returns a DataSet. I've added the webservice to my Excel 2007 workbook using the Data -> From Web button and I'm able to view / refresh the data. The problem comes when I need to secure the web service:…
Nathan
  • 6,095
  • 2
  • 35
  • 61
28
votes
2 answers

Cross Domain SQL Server Logins Using Windows Authentication

I have a SQL Server 2005 named instance using Windows Authentication with domain groups serving as logins. The domain structures are as follows: Forest1 Forest2 / \ | Domain1 Domain2 …
28
votes
6 answers

Connect To SQL Server With Windows Authentication From A Linux Machine Through JDBC

I want to be able to connect to a SQL Server using jdbc and windows authentication. I saw some answers on the internet saying i should add the following property to the connection string: integratedSecurity=true; And also add sqljdbc_auth.dll To…
zuckermanori
  • 1,675
  • 5
  • 22
  • 31
27
votes
3 answers

Does an IIS 7.5 web app with windows authentication require end users to have file permissions?

Short version: For IIS 7.5 web applications with Windows Authentication does the end user need to have Read file access? Long version: I have an intranet ASP.NET web app that uses windows authentication. It's installed at dozens of different…
Rory
  • 40,559
  • 52
  • 175
  • 261
26
votes
2 answers

Windows authentication in linux docker container

i am trying to use windows authentication in linux docker container under kubernetes. I am following this settings: https://learn.microsoft.com/en-us/aspnet/core/security/authentication/windowsauth?view=aspnetcore-3.1&tabs=visual-studio#kestrel App…
Scholtz
  • 2,878
  • 2
  • 23
  • 23
26
votes
2 answers

SQL Server Management Studio 2008 Runas user on different domain over VPN

I am currently trying to run SQL Server Management Studio 2008 as a user who is on a different domain. I noticed in other threads that running the following command from a batch script will do this however it doesn't seem to work for me. runas…
maple_shaft
  • 10,435
  • 6
  • 46
  • 74
26
votes
5 answers

Windows authentication failing in IIS 7.5

I'm building a simple internal application for my company, and it requires Windows Authentication for security. All other authentication modes are disabled. I'm stuck in a situation where internet explorer prompts for credentials 3 times, then fails…
Ben Brandt
  • 2,851
  • 5
  • 34
  • 45
24
votes
9 answers

ASP.NET Web API Self-Host with Windows Authentication

I am trying to use the ASP.NET Web API Self-Host option with Windows authentication so I can determine the logged on user and ultimately accept or reject the user based on their identity. Here is my console application code: using System; using…
24
votes
9 answers

WebAPI CORS with Windows Authentication - allow Anonymous OPTIONS request

I have a WebAPI 2 REST service running with Windows Authentication. It is hosted separately from the website, so I've enabled CORS using the ASP.NET CORS NuGet package. My client site is using AngularJS. So far, here's what I've been through: I…
Dave Simione
  • 1,441
  • 2
  • 21
  • 31
24
votes
5 answers

Impersonate using Forms Authentication

I have an ASP.NET site that must use Forms Authentication and not Windows Authentication to access a ActiveDirectoryMembershipProvider. The site must use forms because they need a designed input form instead of the browser authentication popup that…
24
votes
3 answers

Native Library sqljdbc_auth.dll already loaded in another classloader

I have 2 java web apps that need to connect to SQL Server Database using Windows Integrated Authentication. The first one that is loaded works fine but the second one throws the exception: Native Library sqljdbc_auth.dll already loaded in another…
Gustavo Pagani
  • 6,583
  • 5
  • 40
  • 71