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
2 answers

IIS App Pool Identity vs. Windows Account

What are the pro's and con's of using the built in App Pool Identity in IIS as opposed to specifying a Windows account? For SQL Server if you want to connect from a .Net application using Windows Authentication I presume that if I use an App Pool…
Remotec
  • 10,304
  • 25
  • 105
  • 147
8
votes
2 answers

Understanding WCF Windows Authentication

I have a service with windows authentication. Using the following code, I can get the Windows Identity of the user who (by using the client) consumes the service. String currentUser =…
LCJ
  • 22,196
  • 67
  • 260
  • 418
8
votes
2 answers

Windows Authentication Credential box asking multiple times in IE8 and IIS7

We have couples of intranet websites hosted on the Windows 2008 Server and all of them are using the Windows Authentication mode. For Example, SiteA SiteB SiteC SiteD (Not working) SiteE (Not working) Among them, without any special modification,…
TTCG
  • 8,805
  • 31
  • 93
  • 141
8
votes
5 answers

Unable to Connect to Local SQL Server with Windows Authentication using SSMS

I'm trying to login to my local SQL Server 2005 installed on Windows7 using SSMS using Windows authentication. I tried using various server names like ., localhost, .\SQL, ANANTH-PC etc. I get this error when I try . or localhost And I get this…
Ananth
  • 10,330
  • 24
  • 82
  • 109
8
votes
0 answers

Getting Windows Accounts Chrome plugin working with Electron

To authenticate devices (PC's) towards Microsoft systems (MSAL) in Chrome, the plugin "Windows Accounts" is required. However, I can't get it to work. When accessing our websites from either an Edge browser or a Chrome browser with said plugin, the…
8
votes
2 answers

ASP.NET Authentication Issues on IIS7 - User.Identity.Name is empty for Windows authentication

We have an ASP.NET application on ASP.NET 4.0 using MVC 3 which uses Windows authentication. When run from Visual Studio 2010 everything works as expected but when rolled out to IIS7 the Windows logged in user never gets populated (checking…
Gavin
  • 5,629
  • 7
  • 44
  • 86
8
votes
2 answers

How to connect to SQL Server with Windows Authentication when not logged in with that username?

We created a local windows username on the database server and used it on a separate machine in IIS7's app pool in the same workgroup. The website app works to log in to the database server. Now I am on my machine developing in VS 2010 trying to…
Zachary Scott
  • 20,968
  • 35
  • 123
  • 205
8
votes
0 answers

Postman Windows Authentication (NTLM) not working

I have created a brand new WebAPI project from Visual Studio template. Target Framework netcoreapp3.1. I have configured it with windows authentication. I created a request in Postman with NTLM configuration to call my API. When I debug my…
8
votes
5 answers

Get username of client who connected to web server

Here's the scenario. I am code running on a web server in an AD domain. Some client has connected to me. How do I get that client's username, without having the client fill out a form in their browser? Must use Java technologies on the web server…
KyleM
  • 4,445
  • 9
  • 46
  • 78
8
votes
1 answer

How to make a React App windows Authentication

Web API has been created in .Net with Windows Authentication. When am invoking the API in React APP getting 401 Unauthorized. Web API Works fine in the browser with windows authentication. axios.get('http://.../.../user/Data') .then(function…
Mathan
  • 143
  • 2
  • 6
8
votes
2 answers

SignalR in ASP.Net Core 401 Unauthorized

I have a small problem with my UWP app. First, the UWP app has the following capabilities: Enterprise Authentication Shared user certificates Private Networks User Account Information Now I want to connect to a SignalR-Hub in an ASP.NET Core 2.1…
HardSoul
  • 99
  • 1
  • 1
  • 9
8
votes
2 answers

Is ASP.NET Core Identity needed for Intranet app using Windows Authentication

Using Windows Authentication in an Intranet web application I want to achieve the following: Gather additional attributes from AD (name, employee number) Gather additional attributes from a database table (working hours, pay) Authorize based on…
8
votes
1 answer

How to authenticate a user on the middle tier using Windows authentication

We have a server written in Delphi that uses RemObjects DataAbstract/SDK. We would like to use Windows authentication to authenticate users to allow them access to our server. Currently we do the following: 1) Client application sends the Windows…
norgepaul
  • 6,013
  • 4
  • 43
  • 76
8
votes
2 answers

SignalR not working with Windows-integrated authentication

I have an ASP.NET MVC 4 app (.NET 4.5) and SIgnalR works fine with forms-based authentication (hosted via IIS/IIS Express) As soon as I change the app to windows-integrated authentication ( in "web.config") it stops…
Alex from Jitbit
  • 53,710
  • 19
  • 160
  • 149
8
votes
2 answers

Connect to SQL Server Express Database with Python (Windows Authentication)

I've got a Java Program connected to my SQLServer Express Database. The code I used to connect is: Connection con = null; try { String url = "jdbc:sqlserver://GANESHA\\SQLEXPRESS:1434;databaseName=4YP;integratedSecurity=true"; …