"Vic.Dong" <do******@drm.net.cn> wrote in message
news:%2****************@TK2MSFTNGP03.phx.gbl...
I make a application that is about some file data security. I want to
delete my some important temp file as OS restart.
If I put it to registry "HKEY...\RUN" setting, but it maybe be deleted by
someone.
Can you open the file exclusive access and with the
FILE_FLAG_DELETE_ON_CLOSE option set. By the way, it is not enough to delete
the file. You should overwrite its sensitive data. There are published
algorithms and standards for this kind of thing, btw.
Regards,
Will