Enable Basic authentication on RDWeb webclient

Vect0r ez 10 Reputation points
2023-07-28T17:37:05.05+00:00

Use case: I'm evaluating options for implementing RDWeb webclient behind a loadbalancer that handles authentication and achieve the passing of credentials to the RDWeb webclient. On "Default Website\RDWeb\Pages" I can do this using "Basic Authentication" simply by changing the IIS Authentication.

Issue: It seems that "Default Website\RDWeb\webclient" allows to use "Windows Authentication" by changing "C:\Windows\Web\RDWeb\Pages\web.config", but "Basic Authentication" is not supported. (or documented?) I was unable to make Basic Authentication work.

Could basic auth be made to work?

Windows for business Windows Client for IT Pros User experience Remote desktop services and terminal services
{count} votes

1 answer

Sort by: Most helpful
  1. Hebikuzure aka Murachi Akira 20,096 Reputation points MVP Volunteer Moderator
    2023-07-29T14:17:09.17+00:00

    Unfortunately, the authentication mode of web.config does not support Basic authentication.

    https://learn.microsoft.com/en-us/dotnet/api/system.web.configuration.authenticationmode?view=netframework-4.8.1

    Forms 3 Specifies ASP.NET Forms-based authentication as the authentication mode.
    None 0 Specifies no authentication.
    Passport 2 Specifies Microsoft Passport as the authentication mode.
    Windows 1 Specifies Windows as the authentication mode. This mode applies when using the Internet Information Services (IIS) authentication methods Basic, Digest, Integrated Windows (NTLM/Kerberos), or certificates.

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.