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
6
votes
6 answers

Connecting through PHP to an SQL Server, using the Windows account

I am trying to connect using PHP to an SQL Server on another machine. I have found two ways of doing this. Either with odbc_connect or sqlsrvr connect. $connection = odbc_connect("Driver={SQL Server Native Client…
user1003273
6
votes
1 answer

How do I allow anonymous access to my mvc3 app using Windows Authentication

I have an MVC3 Intranet app that uses Windows authentication. I'm now using a third party service that will make notification calls to my app. I've already created a listener for these API calls but not sure how I can allow anonymous access to that…
Nildarar
  • 802
  • 1
  • 8
  • 17
6
votes
1 answer

ASP.NET MVC Urls and IIS Integrated Windows Authentication

I have an ASP.NET MVC app which is completely behind Forms Authentication. However there is one set of routes (/report/%) I need to force integrated windows authentication on, as those pages need to impersonate the current user (for security…
JonoW
  • 14,029
  • 3
  • 33
  • 31
5
votes
2 answers

Failed to Execute URL when calling a WCF service with Windows authentication

I am having a problem with a WCF service using Windows authentication on one of the servers I am deploying it to (it's a Windows Server 2008 R2 machine), while it works flawlessly on all other machines I have access to (Windows 7, Windows Server…
Damir Arh
  • 17,637
  • 2
  • 45
  • 83
5
votes
2 answers

ASP.NET MVC Windows authentication on top of forms authentication

I have developed a web app in ASP.NET MVC which we are using internally. Now we want to make it available through our server on the internet -- to make life easier when we're doing jobs on site. Ideally I'd like to just stick Windows authentication…
NoPyGod
  • 4,905
  • 3
  • 44
  • 72
5
votes
1 answer

Using Windows Authenticated WCF services

I have a Windows authenticated WCF service. Using the following configuration: BasicHttpBinding binding = new BasicHttpBinding(); binding.Security.Transport.ClientCredentialType = HttpClientCredentialType.Ntlm; binding.Security.Mode =…
xkcd
  • 2,538
  • 11
  • 59
  • 96
5
votes
2 answers

ASP.NET intranet site asking for credentials - Windows Authentication

I created my first website in ASP.Net and I am trying to get it up and running on our intranet here at work. I have got almost everything completed now, and I have come to a roadblock. I need to use Windows Authentication - requirement from my team…
5
votes
1 answer

Redirecting Windows Authentication to a custom 401 page

We are converting some of our web applications that used to run under forms authentication, to now run as windows authentication. I want to recreate the page security that forms authentication had with minimum modification to the actual pages. I…
Jim
  • 636
  • 6
  • 13
5
votes
1 answer

Why does DirectoryServicesCOMException occur querying Active Directory from a machine other than the web server?

My ASP.NET WebForms app running on IIS 7.5 works fine when the request comes from the web server but throws the following error when the same domain user requests the same page from any other machine on the domain: TYPE:…
flipdoubt
  • 13,897
  • 15
  • 64
  • 96
5
votes
4 answers

401 - Unauthorized in IE7 only with windows authentication.

I've created an intranet site that uses windows authentication In chrome I can access the site instantly, and in FF it requires Active Directory login. But with IE7 I'm getting the following error: 401 - Unauthorized: Access is denied due to invalid…
5
votes
2 answers

.NET Core 6 Windows auth and Active Directory group based permissions

How does one get user data (user name and surname, and user groups) from company's Active Directory (WinServer) in dotnet core 6? I have Identity package installed, but the app needs to work with Windows Auth and Active Directory groups for…
5
votes
2 answers

Using NTLM/Kerberos on RestSharp since v107

Since some time it seems the NtlmAuthenticator of RestSharp is deprecated. The somewhere mentioned method of setting setting.UseDefaultCredentials = true; isn't available either. So how can I use NTLM or Kerberos with RestSharp? AND NO! I cannot…
5
votes
1 answer

Gss Failure - Dotnet 5 and Windows Auth in Docker

I'm struggling for few days with Windows Authentication in dotnet 5 project and can't get it working in the Docker environment. When running locally on Windows system, it works properly. I found other topics, which might be a duplicate, but they are…
Mozartos
  • 113
  • 1
  • 10
5
votes
5 answers

Is it possible to retrieve data from Active Directory by impersonating a Windows authenticated user in ASP.NET?

I've been trying to solve this problem all day, and I've read some conflicting information within the standard google message board answers. What I'm trying to do is retrieve a domain user's (that is, the currently logged in user's) email address…
Erix
  • 7,059
  • 2
  • 35
  • 61
5
votes
1 answer

How to use Windows Authentication in a HTTP/2 web app (on IIS)

IIS 10 supports HTTP/2 but it downgrades to HTTP/1.1 if the web site is configured to use Windows Authentication. I would like to create a web application that doesn't require domain users to log in (Windows Auth is perfect for that) but still being…
jods
  • 4,581
  • 16
  • 20