Table of Contents

Property ServingNoBrowserOrigin

Namespace
MailFathom.Infrastructure.Security.Transport
Assembly
MailFathom.Infrastructure.dll

ServingNoBrowserOrigin

Gets the policy that serves no browser at all, which a deployment states by configuring an empty origin list.

public static BrowserOriginPolicy ServingNoBrowserOrigin { get; }

Property Value

BrowserOriginPolicy

Remarks

It refuses every request carrying an Origin and serves every request carrying none, so what it excludes is browsers rather than clients. That is the accurate posture for a deployment whose only consumers are agents and command-line clients, and it is the one posture a list of origins cannot express. A page a deployment serves itself is unaffected, being same-origin and therefore never subject to CORS at all; a head somebody downloaded is not, and this posture refuses it, which is why MailFathom.Infrastructure.Security.Transport.BrowserOriginPolicy.NativeShellScheme exists to be listed.