Search code examples
objective-cmacosnsfilemanager

NSFilemanager and secure delete


Is there any officially supported way of secure-deleting files in Mac OS X 10.5+?

if not, what about if I move all files (using NSFilemanager) to a common folder, and use srm: from a shell script. Would this delete all traces of a file, or would the file still be recoverable because of the move operation?

thanks in advance for any help/suggestions.


Solution

  • you can refer to this book, where it dose secure file wipe in objective-c http://shop.oreilly.com/product/0636920023234.do