Disclaimer: This website requires Please enable JavaScript in your browser settings for the best experience.

HomeDev GuideRecipesAPI Reference
Dev GuideAPI ReferenceUser GuideLegal TermsGitHubNuGetDev CommunityOptimizely AcademySubmit a ticketLog In
Dev Guide

episerver.basicAuthentication

Describes the <episerver.basicAuthentication> section of the configuration file.

The Configure CMS topic describes the syntax of the configuration elements.

## &lt;episerver.basicAuthentication&gt;
  <episerver.basicAuthentication basicRealm="string"
                                 sendBasicChallenge="bool" />

📘

Note

The episerver.basicAuthentication element is optional. The following default configuration values set in code and are overriden if other values are specified in the web.config file.

NameDefault valueDescription
basicRealmString.EmptyGets the basic realm used when sending a basic authentication challenge to the client.
sendBasicChallengetrueDefines whether the EPiServer.Security.BasicAuthentication module sends a basic challenge to the client.