Skip to content

Commit 70a5671

Browse files
author
Rick Anderson
committed
react to feedback
1 parent b806c5c commit 70a5671

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

docs/code-quality/ca2302.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ This rule is similar to [CA2301](ca2301.md), but analysis can't determine if the
3030

3131
By default, this rule analyzes the entire codebase, but this is [configurable](#configurability).
3232

33+
> [!WARNING]
34+
> Restricting types with a SerializationBinder can't prevent all attacks. For more information, see the [BinaryFormatter security guide](/dotnet/standard/serialization/binaryformatter-security-guide).
35+
3336
## Rule description
3437

3538
[!INCLUDE[insecure-deserializers-description](includes/insecure-deserializers-description-md.md)]

docs/code-quality/ca2311.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ A <xref:System.Runtime.Serialization.NetDataContractSerializer?displayProperty=n
2828

2929
By default, this rule analyzes the entire codebase, but this is [configurable](#configurability).
3030

31+
> [!WARNING]
32+
> Restricting types with a SerializationBinder can't prevent all attacks. For more information, see the [BinaryFormatter security guide](/dotnet/standard/serialization/binaryformatter-security-guide).
33+
3134
## Rule description
3235

3336
[!INCLUDE[insecure-deserializers-description](includes/insecure-deserializers-description-md.md)]

docs/code-quality/ca2312.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ This rule is similar to [CA2311](ca2311.md), but analysis can't determine if the
3030

3131
By default, this rule analyzes the entire codebase, but this is [configurable](#configurability).
3232

33+
> [!WARNING]
34+
> Restricting types with a SerializationBinder can't prevent all attacks. For more information, see the [BinaryFormatter security guide](/dotnet/standard/serialization/binaryformatter-security-guide).
35+
3336
## Rule description
3437

3538
[!INCLUDE[insecure-deserializers-description](includes/insecure-deserializers-description-md.md)]

0 commit comments

Comments
 (0)