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
20
votes
4 answers

ServiceStack.NET Windows Authentication (NTLM) in ASP.NET MVC

How to implement Windows Authentication in a ServiceStack project build on ASP.NET MVC4? I started with a global Request-Filter added in the AppHost: private void ConfigureAuth(Funq.Container container) { this.RequestFilters.Add((httpReq,…
MVCible
  • 391
  • 3
  • 14
19
votes
5 answers

Using Windows Authentication in ASP.NET

I'm trying to use Windows Authentication in my ASP.NET application. Whenever I try to view the app it sends me to a login page. How can I make it work without having to manually login via the browser? web.config
Antarr Byrd
  • 24,863
  • 33
  • 100
  • 188
18
votes
1 answer

App pool identity versus impersonation identity?

I found only one thread relating to this but it did not answer the question. I'm curious to a link or explanation of the difference between setting an impersonation user via in the web.config versus setting the application pool identity in IIS.…
Ryan Peters
  • 7,608
  • 8
  • 41
  • 57
18
votes
5 answers

pymssql windows authentication

The pymssql module used to support windows authentication. Now it seems it does not. Though in some places it still shows that it should work. I have been unable to find a definitive answer to this problem, nor a solution. Most relevant…
Inbar Rose
  • 41,843
  • 24
  • 85
  • 131
18
votes
5 answers

HTTP Error 404.15 - Not Found ...because the query string is too long

I've checked lots of posts about this error but not been able to fix the problem yet. I have simple MVC5 website built in VS2013 running on Windows 8 pro. When the site was created the option for individual accounts was selected. I now need to…
Rob Bowman
  • 7,632
  • 22
  • 93
  • 200
18
votes
2 answers

How to pass Windows Authentication credential from client to Web API service

Inside my corporate environment, I have IIS7.5 hosting both a Web API service and a separate website which makes calls into that service via the RestSharp library. Both are currently configured with Windows Authentication. If I navigate to either…
18
votes
3 answers

Obtain Network Credentials from Current User in Windows Authentication Application

I was wondering whether it was possible to obtain the current user object and get their credentials so that I can pass them along to a NetworkCredential object which I am using to connect to my AX .NET Business Connector. As, at the moment I'm…
CallumVass
  • 11,288
  • 26
  • 84
  • 154
17
votes
1 answer

Wrong authentication after changing user's logon name

We have a user who recently changed name. Let's say the old username was old.name and the new username is new.name. After editing the details in AD and logout/login with the new user name, our ASP.NET application shows the old name. Plain ASP.NET,…
Biri
  • 7,101
  • 7
  • 38
  • 52
17
votes
3 answers

How to add Roles to Windows Authentication in ASP.NET Core

I created an asp.net core project in visual studio 2015 with windows authentication. I can't figure out how to add roles to the Identity. I have a table with usernames for the windows account. And when the user opens the website the user is added to…
17
votes
8 answers

Windows authentication in asp.net 5

I am building an intranet application in ASP .NET 5, MVC 6. I want to know how to enable Windows Authentication.? The default project template supports only Individual User Accounts.
17
votes
1 answer

Impersonate a Windows or Active Directory user from a different, untrusted domain

I need to authenticate against a remote SQL Server using Windows Authentication. The remote SQL Server is running in another domain that does not have a trust relationship with the domain I'm currently logged into via Windows. I cannot use SQL…
Hannah Vernon
  • 3,367
  • 1
  • 26
  • 48
17
votes
3 answers

How to Show or hide controls based on roles - ASP.NET MVC 4 Razor

I m working on ASP.NET MVC 4 application.I have a dashboard and my users groups will be based on Windows Domain So I am using WIndows Authentication for authenticating users. I created sample applications which uses custom authentication by…
kbvishnu
  • 14,760
  • 19
  • 71
  • 101
17
votes
7 answers

Windows Authentication for SQL Server using JBDC on a Mac

Is it possible to connect to SQL Server using Windows authentication/integrated security from a Mac? I am using the type 4 JDBC driver provided by Microsoft. The front end (a form application) is coded in Java. Everything works perfectly on Windows…
user1406416
  • 181
  • 1
  • 1
  • 7
15
votes
4 answers

System.DirectoryServices - The server is not operational

I get an error by a website, on which I use Windows Authentication. Strange things: Only occurs if user is not yet saved into database (new unknown user) Appears only on live system, everything fine on local development environment This is what I…
15
votes
2 answers

ASP.NET MVC and Windows Authentication with custom roles

I am trying to implement windows authentication in my ASP.NET MVC2 application. I've followed all the steps suggested by the official documentation: I've…
LeftyX
  • 35,328
  • 21
  • 132
  • 193