Safely delete file contents

How to safely delete file contents? I mean, the data must be permanently erased, so even if someone (the intruder) deletes the deleted file, could one find garbage instead of real data?

+3
source share
1 answer

In practical terms, you really cannot, because you don’t know which medium is used for storage and whether its blocks can be reliably overwritten. This is especially true for mobile devices containing flash memory, which has durability to extend its service life and does not guarantee overwriting the same block inside when you overwrite a block in the file system. This would allow a certain adversary to gain physical control over the environment to restore previously written blocks.

You would be better off assuming that your data will be intercepted and encrypted for storage.


, . Shred et al , . (, flash) , , . - , , .

, , , , . , , - , , .

+12

Source: https://habr.com/ru/post/1780390/


All Articles