Serialize.Linq icon indicating copy to clipboard operation
Serialize.Linq copied to clipboard

Question about deserialization security:

Open YotamEN opened this issue 3 years ago • 1 comments

Hi! Firstly, great job on this NuGet :) I'm serializing a Expression<Func<MyClass, bool>> type and my question is about deserialization: Is there a way to determine the _known_types list? Or another way to make sure deserialization will only allow the types I am using? For example, in .Nets BinaryFormatter you have SerializationBinder to control the types used during deserialization, which is helpful in preventing unwanted code execution.

YotamEN avatar May 12 '22 15:05 YotamEN

Nope. I have not.

esskar avatar Aug 28 '22 19:08 esskar