Situation: Using Python to make a simple quarantine software for malware.
What I know:
I do understand (from this forum no less) that one of the ways is to put the file in a quarantine directory and turn off all access to it (i.e. 0000 Linux file permissions).
Another way is to scramble the binary such that it cannot be executed when "double clicked", but can be unscrambled should the user decides that the file is safe and wants it back.
Problem: I am not convinced that quarantining files are just as simple as that.
Question: What are some other ways that antiviruses use to quarantine files that I can use?
Additional information: Do avoid proprietary methods, as this method will be deployed in my code.