ram-scraping

How can I increase memory security in Delphi?

旧时模样 提交于 2019-11-27 19:26:26
问题 Is it possible to "wipe" strings in Delphi? Let me explain: I am writing an application that will include a DLL to authorise users. It will read an encrypted file into an XML DOM, use the information there, and then release the DOM. It is obvious that the unencrypted XML is still sitting in the memory of the DLL, and therefore vulnerable to examination. Now, I'm not going to go overboard in protecting this - the user could create another DLL - but I'd like to take a basic step to preventing