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

Windows authentication using phantomjs

I'm looking into phantomjs as a possible solution for UI automation in my latest project, but I can't seem to get windows authentication to work properly. I've tried setting the page.settings.userName and page.settings.password, but the snippet…
Neil
  • 417
  • 5
  • 12
6
votes
4 answers

ASP.NET MVC intranet app with windows authentication, how to get the current domain user automatically?

I need my MVC4 app to get the current domain user that is logged on to the machine automatically logged in in my index.cshtml page. the rest of the application works as intended by using the Authorize attribute the actions i need secured. I just…
e4rthdog
  • 5,103
  • 4
  • 40
  • 89
6
votes
2 answers

How can I set IIS Windows Auth Providers with powershell?

Is there a way that I can Add/Remove/Reorder Windows authentication providers using powershell in IIS 7.5? I am told, and have found no evidence to the contrary, that the NTLM provider is faster than Negotiate when used with Windows Auth. This may…
Russ
  • 12,312
  • 20
  • 59
  • 78
6
votes
3 answers

JMeter with Windows Authentication?

I am using JMeter to load test some pages that reside in a SharePoint 2007 Site. The farm that contains the pages resides in a different domain than the machine running the test, and uses Windows Authenticiation. The connection to the server is…
Kyle Trauberman
  • 25,414
  • 13
  • 85
  • 121
6
votes
3 answers

Connect to SQL Server with Management Studio using Windows Authentication

I am working with Management studio and I want to log in to databases located on another server in another domain. The only login I have for such is with Windows credentials. I want to be able to log in via Management Studio on my local PC. I have…
amateur
  • 43,371
  • 65
  • 192
  • 320
6
votes
1 answer

Session Management with Windows Authentication

In an ASP.NET web app, using Integrated Windows Authentication, is the session tied to the windows identity? In other words, if I login (using IWA) to the app, and the app stores some "stuff" in my session, is this stuff accessible by session id…
6
votes
1 answer

Why use FormsAuthenticationTicket with Windows Authentication?

I've been reading a ton of stuff online about authentication and authorization and finally settled on some code that seems to be working...but I don't fully understand everything that it's doing (as far as the FormsAuthenticationTicket). The MVC app…
6
votes
1 answer

Sign in as Different User in asp.net?

I am trying to implement "Sign in as different user" on windows authentication asp.net web site. I followed this blog Sign in as Different User. Everythig is fine except Cancel button. When user requested for userid/password dialog box. If I hit…
James123
  • 11,184
  • 66
  • 189
  • 343
6
votes
2 answers

Connect to SQL Server with Management Studio using a Windows Credential while not on the domain

I have a client that has a SQL Server 2008 installation. They have given me a windows domain username/password on their domain, however, my workstation is not on their domain. I'm trying to connect with Management Studio on Vista…
itchi
  • 1,683
  • 14
  • 30
6
votes
1 answer

.NET returning incorrect username

I made a spelling mistake when I created an account a few weeks back. I changed the account and they can log onto the domain with the new name. However we have a web application in house that is still picking up the wrong name. The .net application…
Jennifer Nolan
  • 123
  • 1
  • 8
6
votes
1 answer

Remove NEGOTIATE from WindowsAuthentication in IIS

I have a site running in IIS 7.5 that is accessed using a DNS alias different from the actual server name. In IE 8, integrated authentication is failing, but in Firefox and Chrome everything works fine. (IE presents a credential challenge a few…
ErikE
  • 48,881
  • 23
  • 151
  • 196
6
votes
1 answer

IIS Windows Authentication weirdness

I have a web server with two websites: a & b. a is production. b is testing/staging. Whoever wrote these apps before me relies on Request.ServerVariables("LOGON_USER") which is assigned when the user authenticates against the server via Windows…
RandomUs1r
  • 4,010
  • 1
  • 24
  • 44
6
votes
3 answers

Windows Authentication with ASP.NET MVC

I've built a custom login system for my asp.net mvc 1.0 web application as I store large amounts of user data for each user (I decided against trying to add custom tables for the windows authentication due to this). The login system basically uses…
Phil
  • 4,012
  • 5
  • 39
  • 57
6
votes
3 answers

How do I authenticate to a SQL Server database on a domain from a virtual machine off the domain?

I am supporting a .NET 4.0 (Visual Studio 2010) web application that authenticates to a SQL Server 2008 database which resides on my work intranet. The application authenticates to the database using windows authentication. Thats all fine and dandy…
6
votes
3 answers

ASP.NET Windows Authentication Not Working/Not Accepting Credentials

I've been trying to resolve this question for a couple weeks now via Google and reading SO, and not had much luck, so I thought I'd finally try asking myself. I'm setting up a very, very simple ASP.NET site on our intranet to generate some…
user1032943
  • 71
  • 1
  • 2
  • 5