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

BinaryFormatter has security flaws and requiring the paid version for JSON serialization is sketchy #71

Open
bradlis7 opened this issue Feb 24, 2022 · 2 comments

Comments

@bradlis7
Copy link

Microsoft has deprecated BinaryFormatter (https://docs.microsoft.com/en-us/dotnet/standard/serialization/binaryformatter-security-guide), and it seems like bad practice to force users to pay to use another method, such as JSON or XML, to serialize objects.

@Alex-Alachisoft
Copy link

Hi @bradlis7, yes, this has been noted down and is being considered for the next releases of NCache Open Source. Also, note that Microsoft has not yet discontinued the use of BinaryFormatter and you can still use Binary Serialization (with a warning) in NCache OpenSource. Moreover, if you wish to use JSON serialization then you can use the NCache Professional or Enterprise editions.
Additionally, as mentioned above, when BinaryFormatter is officially discontinued by Microsoft, our engineering board will review the provision support of JSON serialization in the NCache OpenSource edition.

@Rich-Ott
Copy link

With the announcement that BinaryFormatter is being removed later this year with .NET 9 (dotnet/announcements#293), is this going to be put up for review?

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

3 participants