How does a process like KeePass protect its memory in Windows?

1

I am looking at KeePass and trying to figure out how it protects its memory exactly. Is it because the use of KeePassLib.Security.ProtectedBinary class for all it's memory allocations or is it clearing PROCESS_VM_READ permissions on the process? Or is it something else?

This is what process explorer shows*

enter image description here

[*] Windows is doing some scaling kung-fu, I've not idea how to take a screenshot that is not blurry

oleksii

Posted 2019-05-22T10:35:06.690

Reputation: 790

Go and read the source code ... – DavidPostill – 2019-05-22T13:11:18.830

1I have done so and asked a question after scanning through the source code – oleksii – 2019-05-22T13:37:08.197

No answers