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

Authenticate from Active Directory but Authorize Roles from SQL Database in MVC

I am new to MVC. I searched and found no solution that fits for my requirements. I am developing a web portal for our team's internal use which uses Windows AD authentication for login. However, for role based access I have created a local database…
6
votes
2 answers

Handle CORS within WCF and Windows authentication

I have implemented a self-hosted WCF Rest Service and an according Angular CLI Client. I ran into troubles with CORS, but I was able to solve them when HttpClientCredentialType.None is set within the WebHttpBinding. The problem is, that I need to…
Obl Tobl
  • 5,604
  • 8
  • 41
  • 65
6
votes
3 answers

How can I use Windows Authentication with Microsoft.Rest.ServiceClient

I have a Microsoft.Rest.ServiceClient generated with autorest. And I want to access a REST API secured with Windows Authentication and Basic Authentication. The goal is to use Windows Authentication. I tried it as follows: var handler = new…
Heiner
  • 1,869
  • 1
  • 19
  • 33
6
votes
1 answer

SharePoint 2010 Custom WCF Service - Windows and FBA Authentication

I have SharePoint 2010 configured for Claims Based Authentication with both Windows and Forms Based Authentication (FBA) for external users. I also need to develop custom WCF Services. The issue is that I want Windows credentials passed into the…
6
votes
2 answers

Access windows Authenticated Web API through Angular 2 without login prompt

I have already developed front-end application in Angular2 and back-end in ASP.net web APIs. I had used Windows authentication as enabled because I want to detect requesting user. Both applications are hosted in IIS server(Windows Server 2012). When…
Dhananjaya
  • 372
  • 1
  • 6
  • 22
6
votes
2 answers

asp.net mvc windows authentication - users logged in as different users

We have asp.net mvc web application, hosted in IIS with Windows authentication enabled (we are using active directory to authenticate users). At some point (in production), users found themselves logged in using different users, the login usually…
Ahmad Alkhawaja
  • 529
  • 2
  • 12
  • 29
6
votes
3 answers

Calling windows authenticated WCF service from c#

We have a WCF service which is windows authenticated. Binding is configured as below.
VJOY
  • 3,752
  • 12
  • 57
  • 90
6
votes
0 answers

Web Application Proxy appending authtoken to Url

I am using non claims aware application in Web Application Proxy. Server: Windows Server 2016 ADFS: v3.0 - Windows Server 2012 R2 But whenever I request the application URL, a query string parameter 'authtoken' is appending after the successful…
6
votes
3 answers

JetBrain Rider , Access denied when using IIS Express with Windows Authentication

I have an enabled Windows Authentication on my projects. When I run it from Rider, it always prompts me "access denied". It's working fine when I run it via Visual Studio. How can I solve this?
6
votes
1 answer

How do I Add My Domain User Account to the List of Users with Permission to Connect to the SQL Server?

My SQL 2008 R2 Server is configured for Windows authentication, but only my domain administrator account is granted access to connect to the object explorer. I need to grant my non-administrator domain-user access as well, so I can log in from my…
Giffyguy
  • 20,378
  • 34
  • 97
  • 168
6
votes
3 answers

Node.js Connection with SQL Server windows authentication

I'm trying to connect node.js to mssql in Windows Authentication mode. I installed the tedious,mssql and msnodesqlv8 modules, but I still can't figure out how to open a connection. This is what I tried: var sql = require('mssql'); var config…
Brigitta
  • 61
  • 1
  • 1
  • 3
6
votes
3 answers

How would an HttpModule for Custom Authentication interact with Windows Authentication?

I am trying to create a custom HttpModule which controls which users can view a site. I am trying to leverage Windows Authentication to do this. On an individual page, I would probably do something like this: if…
vwfreak
  • 369
  • 2
  • 5
  • 18
6
votes
1 answer

Check if Windows Authentication is available with JavaScript

Is there a way to check whether Windows Authentication (Negotiate, Kerberos, NTLM...) is available in the browser (with JavaScript or other methods) without browser prompting for username and password if it is not? Background We are developing…
6
votes
5 answers

ASP MVC Workflow tool form logic and permissions

I'm creating a workflow tool that will be used on our company intranet. Users are authenticated using Windows Authentication and I've set up a custom RoleProvider that maps each user to a pair of roles. One role indicates their seniority (Guest,…
Rapscallion
  • 717
  • 1
  • 7
  • 21
6
votes
1 answer

iis7 Challenge-based and login redirect-based authentication cannot be used simultaneously

I have an asp.net web site, earlier version of the application need to run in classic mode, the latest version can run in integrated mode. Generally the application is configured to use Forms Authentication but it can be configured to used Windows…