android - Safely wipe file content -


how safely delete file content? mean data should unrecoverably wiped, if (intruder) undelete deleted file, 1 find instead of real data garbage?

in practical terms, can't because have no idea kind of medium being used storage , whether blocks can reliably overwritten. true on mobile devices containing flash, has wear-leveling prolong life , isn't guaranteed overwrite same block internally when overwrite block on filesystem. make possible determined adversary gains physical control on medium recover previously-written blocks.

you better off assuming data intercepted , encrypting storage.


this vulnerability has nothing os , medium. shred et al depend on assumption overwriting block in file happens in place. on medium limited write cycles (e.g., flash), unsafe assumption because on-board controller reassigns logical block addresses new blocks of physical memory on writes way delay reaching write cycle limit on physical block. process transparent host. hard disk drives similar way of staving off failures resulting bad blocks.

an adversary has device in hand can transplant flash ics onto new carrier , read entire contents, including blocks discarded controller part of wear-leveling process. haven't checked, wouldn't surprised if controllers in flash devices can put mode allows direct access memory, eliminating need physically tamper @ all.


Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -