We have a bit of software that retrieves a file from a client, unencrypts it, processes it, encrypts the results, and sends it back.
We use PGP keys (our private to decrypt, their public to encrypt).
However it occurs to me that although we delete the file after we've processed it, it may be possible in theory to use an undelete tool to get it from the hard disk.
At the moment we use the gpg2.exe program as part of gpg4win to to the pgp decryption so I am not sure we can decrypt it directly to memory so it never touches the hard disk.
Is there a simple way to ensure it's completely gone for good when deleting it?