Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question about deserialization security: #151

Open
YotamEN opened this issue May 12, 2022 · 1 comment
Open

Question about deserialization security: #151

YotamEN opened this issue May 12, 2022 · 1 comment

Comments

@YotamEN
Copy link

YotamEN commented May 12, 2022

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.

@esskar
Copy link
Owner

esskar commented Aug 28, 2022

Nope. I have not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants