I'm making antivirus but stuck in quarantine feature. im not sure what i do is right way
step that i doing now :
1. create folder quarantine [done]
2. move suspected file into folder quarantine [done]
3. encryption executeable file on quarantine folder. so the suspected file can't be execute again or delete by other antivirus [stuck]
4. restore suspected file to original location if my antivirus false detect [done]
in step 3, i cant find right method.
how to encryption executeable file or is there any another way to handle my problem ?
step that i doing now :
1. create folder quarantine [done]
2. move suspected file into folder quarantine [done]
3. encryption executeable file on quarantine folder. so the suspected file can't be execute again or delete by other antivirus [stuck]
4. restore suspected file to original location if my antivirus false detect [done]
in step 3, i cant find right method.
how to encryption executeable file or is there any another way to handle my problem ?
Last edited: