Enum XFrameOptionsDirectives
Possible X-Frame-Options header directives.
Namespace: Lib.AspNetCore.Security.Http.Headers
Assembly: Lib.AspNetCore.Security.dll
Syntax
public enum XFrameOptionsDirectives
Fields
| Name | Description |
|---|---|
| AllowFrom | The page can only be displayed in a frame on the specified origin. |
| Deny | The page cannot be displayed in a frame, regardless of the site attempting to do so. |
| SameOrigin | The page can only be displayed in a frame on the same origin as the page itself. |