Enum ReferrerPolicyDirectives
Possible Referrer-Policy header directives.
Namespace: Lib.AspNetCore.Security.Http.Headers
Assembly: Lib.AspNetCore.Security.dll
Syntax
public enum ReferrerPolicyDirectives
Fields
Name | Description |
---|---|
NoReferrer | No referrer information is sent along with requests. |
NoReferrerWhenDowngrade | The origin is sent as referrer to a-priori as-much-secure destination (HTTPS->HTTPS), but isn't sent to a less secure destination (HTTPS->HTTP). |
Origin | Only send the origin of the document as the referrer in all cases. |
OriginWhenCrossOrigin | Send a full URL when performing a same-origin request, but only send the origin of the document for other cases. |
SameOrigin | A referrer will be sent for same-site origins, but cross-origin requests will contain no referrer information. |
StrictOrigin | Only send the origin of the document as the referrer to a-priori as-much-secure destination (HTTPS->HTTPS), but don't send it to a less secure destination (HTTPS->HTTP). |
StrictOriginWhenCrossOrigin | Send a full URL when performing a same-origin request, only send the origin of the document to a-priori as-much-secure destination (HTTPS->HTTPS), and send no header to a less secure destination (HTTPS->HTTP). |
UnsafeUrl | Send a full URL (stripped from parameters) when performing a a same-origin or cross-origin request. |