views:

60

answers:

2

What API's Cocoa or Core Foundation, can I use to make sure that when I write back to a file that already exists on the storage device, that the bits get written over? The idea is to clear out the bits for security reasons.

+5  A: 
Mark Rushakoff
+1  A: 

No such API exists. It would be much better to only store properly encrypted data on disk if you are worried about security.

Barry Wark