How can I increase memory security in Delphi?

前端 未结 11 1675
醉酒成梦
醉酒成梦 2020-12-11 09:50

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

11条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-11 10:24

    How about decrypting the file to a stream, using a SAX processor instead of an XML DOM to do your verification and then overwriting the decrypted stream before freeing it?

提交回复
热议问题