Skip to contentSkip to conversation

Secure file deletion option question

DISCUSSION Marco Stornelli 2 participants 2 messages Apr 13, 2011 VFS

lore
Share & tools
lore
#0 lore raw

Hi all,

I don't see any fs implements that feature. The flag FS_SECRM_FL seems never used with the exception of some define in some fs. Is there a motivation for this? It seems a good option to me.

Marco

#1 lore raw
Quoted 5 lines · Marco Stornelli

Hi all,

I don't see any fs implements that feature. The flag FS_SECRM_FL seems never used with the exception of some define in some fs. Is there a motivation for this? It seems a good option to me.

Marco

I think that most secure deletion code is done from user space, which can deal with odd storage types and so on. Just deleting and overwriting the blocks with zero data is not sufficient for some needs.

Having user space tools deal with the myriad of ways that it could be done keeps the policy out of the kernel...

Ric