ForwardedHeadersOptions Class

Definition

public ref class ForwardedHeadersOptions
public class ForwardedHeadersOptions
type ForwardedHeadersOptions = class
Public Class ForwardedHeadersOptions
Inheritance
ForwardedHeadersOptions

Constructors

ForwardedHeadersOptions()

Properties

AllowedHosts

The allowed values from x-forwarded-host. If the list is empty then all hosts are allowed. Failing to restrict this these values may allow an attacker to spoof links generated by your service.

ForwardedForHeaderName

Use this header instead of XForwardedForHeaderName

ForwardedHeaders

Identifies which forwarders should be processed.

ForwardedHostHeaderName

Use this header instead of XForwardedHostHeaderName

ForwardedProtoHeaderName

Use this header instead of XForwardedProtoHeaderName

ForwardLimit

Limits the number of entries in the headers that will be processed. The default value is 1. Set to null to disable the limit, but this should only be done if KnownProxies or KnownNetworks are configured.

KnownNetworks

Address ranges of known proxies to accept forwarded headers from.

KnownProxies

Addresses of known proxies to accept forwarded headers from.

OriginalForHeaderName

Use this header instead of XOriginalForHeaderName

OriginalHostHeaderName

Use this header instead of XOriginalHostHeaderName

OriginalProtoHeaderName

Use this header instead of XOriginalProtoHeaderName

RequireHeaderSymmetry

Require the number of header values to be in sync between the different headers being processed. The default is 'false'.

Applies to