Enum XssFilteringModes
Possible XSS filtering modes for X-XSS-Protection header.
Namespace: Lib.AspNetCore.Security.Http.Headers
Assembly: Lib.AspNetCore.Security.dll
Syntax
public enum XssFilteringModes
Fields
Name | Description |
---|---|
Block | If XSS attack is detected, the browser will prevent rendering of the page. |
None | No XSS filtering. |
Sanitize | If XSS attack is detected, the browser will sanitize the page. |