语言

Menu
Sites
Language
Deleting a file securely

how to programatically delete a file securely  so that it cannot be recovered with any other tool

编辑者为: P puvvada 11 11月, 2013

响应

3 回复
Alex Ashirov

Hi,

I am not sure that there is such API, but I think you have at least 2 options:

  1. You can fill the file with zeros, save it and then remove it.
  2. Use srm linux command.
P puvvada

Thanks for  reply

i have followed the similar approach of what you have said

Before deleting the file ,i will overwrite the contents of the file with junk character and then i will delete the file so that even after recovery also original data is not there