-
Notifications
You must be signed in to change notification settings - Fork 773
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add ability to remove file securely #181
Comments
While I really like this idea, I'm not sure that it belongs in this library and not some specialized library. This is because...
What are your thoughts? |
@jprichardson Your questions are good'n'thoughtful. I agree that this may be too device-dependent, and I don't think it's crucial for 1.0. Perhaps I should spend some time looking into (and asking around about) the underlying OSes' secure deletion functionality. |
Closing this for now. Ping me when you have answers to some of these questions or you have found a module to do this. |
I spent a small amount of time researching and came to the conclusion that this is not something that can be done portably yet. In fact, I'm not even sure that it's portable on a single OS across different storage media yet. I guess the need for secure deletion isn't pervasive enough to warrant support in storage devices, where each different storage device could offer a secure delete API, and the OS could offer a secure delete API that delegates to the storage device's secure deletion API. |
Thanks for the follow-up. It's a damn shame that this isn't a priority for OS/hardware manufacturers yet. Apple seems to be doing a decent job; I suspect in 5 years or so as demand for these sorts of things increases, manufacturers will start delivering. |
I need to be able to delete a file and completely remove any trace of its presence.
If there were methods like
removeSecurely
, or theremove
method were enhanced to take anoptions
parameter with a setting like{ secure : 'zeros' }
or{ secure : 'random' }
, which would write zeros or random data, respectively, over the file's content before removing, it'd be just jim-dandylicious.The text was updated successfully, but these errors were encountered: