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

How to connect Django to MSSQL with Windows Authentication

Similar to this question: How to use windows authentication to connect to MS SQL server from windows workstation in another domain with Python My current database configurations looks like this: 'default': { 'ENGINE':…
mk8efz
  • 1,374
  • 4
  • 20
  • 36
8
votes
2 answers

Why is request.getRemoteUser() returning the tomcat windows service account sometimes

I'm trying to get windows authentification to work with a 3rd party application developped with GWT. I'm hosting the app with tomcat, on a windows server. I access the site through an IIS proxy (installed following the tomcat's documentation). If…
Laloutre
  • 173
  • 2
  • 11
8
votes
3 answers

Web application to use window domain accounts for authentication

If you have a web application that will run inside a network, it makes sense for it to support windows authentication (active directory?). Would it make sense to use AD security model as well, or would I make my own roles/security module that some…
Blankman
  • 259,732
  • 324
  • 769
  • 1,199
8
votes
2 answers

ASP.NET Mixed Authentication

I have 2 applications, one is Forms Authentication and looks like so: public class LoginController : Controller { public ActionResult…
8
votes
1 answer

ADFS SSO SAML Windows Integrated authentication does not work

The project we are working now is Single Sign On via ADFS using SAML Token. The basic rule this project should follow is the following: 1. Agent logs in to windows using his\her credentials. 2. Agent logs in to a web application (Relying…
liorafar
  • 2,264
  • 4
  • 19
  • 39
8
votes
1 answer

Adding custom roles to windows roles in ASP.NET MVC 5

I'm building an intranet app using ASP.NET MVC 5. My goal is to have the authentication of any user made by the Active Directory (i.e. I'm using the "Windows Authentication"), then add groups to any user inside the application (NOT using domain…
8
votes
2 answers

How to enable Windows authentication for specific controller in ASP.Net Web API

I was wandering if there is a way to enable Windows authentication only for the particular action of the particular ASP.Net Web API controller. My Web API web service has a couple of controllers with numerous actions, but only one action of one…
8
votes
2 answers

ASP.NET Roles with Windows Auth

Super simple question from an ASP newb: I've got an internal-only ASP.NET website I'm working on that uses Windows integrated auth across the board. There are essentially three roles I want to associate with the site: user, manager, and admin. The…
nlawalker
  • 6,364
  • 6
  • 29
  • 46
8
votes
2 answers

Windows Authentication in IIS 7.5 Fails with Trust Relationship Exception

I have an ASP.Net 2.0 application that uses integrated Windows Authentication to authenticate/authorize users. The application works fine on Windows XP/IIS 5.1, Windows Server 2008/IIS 7, and Windows Vista/IIS 7. When I try to run this application…
Sean Carpenter
  • 7,681
  • 3
  • 37
  • 38
8
votes
1 answer

Private intranet-level Nuget feed: Windows Integrated Security customization

I'm considering setting up Intranet-level Nuget feed(bunch of teams in my company are supposed to use it). I've looked briefly through some tutorials + appropriate chapters in Pro Nuget book, however I still do have some question left so far: How…
alex.b
  • 4,547
  • 1
  • 31
  • 52
8
votes
5 answers

ActiveDirectory Current Username in ASP.NET

I'm trying to get both ActiveDirectory and standard forms login working but one thing is stopping me. I can't get the name of the current windows user. The closest I've got is var i = WindowsIdentity.GetCurrent();, but that gives me the name of the…
Echilon
  • 10,064
  • 33
  • 131
  • 217
7
votes
1 answer

Windows authentication does not work

I am trying to setup Windows authentication in my .NET 4.0 MVC3 web application, so the intranet users in the company can log in without being prompted. In web.config I have:
7
votes
3 answers

Using Windows Authentication inside my own login form

I have WPF application that has a login form. I would like to make all existing windows users that belong to some specific group able to log into my application. So what I need is a way after the user have given his username and password to see if…
Øyvind Bråthen
  • 59,338
  • 27
  • 124
  • 151
7
votes
1 answer

Can I consume a WCF REST service using Windows Authentication without .NET libraries?

I have a WCF client hosted in IIS7 and a WCF service hosted in IIS7. The client is strictly http/javascript and I'd like to keep it that way. When I browse to the client webpage, I'm prompted for Windows Authentication credentials because the page…
Chad_C
  • 188
  • 2
  • 12
7
votes
0 answers

Can WSL inherit windows auth credentials

I'm using WSL in an exclusively windows environment because of a number of tools that are only really available for Linux. I often connect to DBs programmatically and would like to be able to do that without specifying my login information. For…