XPermittedCrossDomainPolicies

Builder for the X-Permitted-Cross-Domain-Policies HTTP response header.

Usage

Source

XPermittedCrossDomainPolicies()

Default header value: none

Notes

* This header governs which cross-domain policy files legacy clients (Flash, Silverlight, etc.) may load. * Use helper methods for MDN-defined directives; value is an escape hatch.

Resources: - https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/X-Permitted-Cross-Domain-Policies - https://owasp.org/www-project-secure-headers/#x-permitted-cross-domain-policies

Parameter Attributes

header_name: str
_value: str = (lambda: HeaderDefaultValue.X_PERMITTED_CROSS_DOMAIN_POLICIES.value)()