Sorry if this question has been asked before, I genuinely cannot find any information pertaining to this.
I will start by stating this assumption: When you delete a file on a Windows PC, the win32api.DeleteFile function is called.
Say you have a program/script/function ect that securley deletes this file for instance microsoft's cipher.exe, would it be possible to 'overwrite' native deletion method, and use your own? To the effect that any OS deletion would call your own function. I would aim to be able to do this in python, but any language would be accepted(I'm guessing C++).
If this is unclear please let me know and i shall try to clarify.
Thanks once again, stackoverflow!