Updates to compression warning content (#32167)
parent
aa55d4891a
commit
1fb5518a7d
|
@ -1,6 +1,6 @@
|
|||
:::moniker range=">= aspnetcore-9.0"
|
||||
|
||||
> [!WARNING>]
|
||||
> [!WARNING]
|
||||
> With compression, which is enabled by default, avoid creating secure (authenticated/authorized) interactive server-side components that render data from untrusted sources. Untrusted sources include route parameters, query strings, data from JS interop, and any other source of data that a third-party user can control (databases, external services). For more information, see <xref:blazor/fundamentals/signalr#websocket-compression-for-interactive-server-components> and <xref:blazor/security/server/interactive-server-side-rendering?view=aspnetcore-9.0#interactive-server-components-with-websocket-compression-enabled>.
|
||||
|
||||
:::moniker-end
|
||||
|
|
|
@ -32,9 +32,14 @@ Further JS interop guidance is provided in the following articles:
|
|||
|
||||
## Compression for interactive server components with untrusted data
|
||||
|
||||
<!-- Doc author note: This content is also in an INCLUDE file at
|
||||
blazor/includes/compression-with-untrusted-data.md because the
|
||||
text is used in a warning format in two articles. -->
|
||||
|
||||
With compression, which is enabled by default, avoid creating secure (authenticated/authorized) interactive server-side components that render data from untrusted sources. Untrusted sources include route parameters, query strings, data from JS interop, and any other source of data that a third-party user can control (databases, external services). For more information, see <xref:blazor/fundamentals/signalr#websocket-compression-for-interactive-server-components> and <xref:blazor/security/server/interactive-server-side-rendering?view=aspnetcore-9.0#interactive-server-components-with-websocket-compression-enabled>.
|
||||
|
||||
:::moniker-end
|
||||
|
||||
[!INCLUDE[](~/blazor/includes/compression-with-untrusted-data.md)]
|
||||
|
||||
## JavaScript interop abstractions and features package
|
||||
|
||||
|
|
Loading…
Reference in New Issue