I want to protect a file , i don't allow user can change it (only my app can change this) and can't delete. I know Windows Defender but it's not work perfect. I like something like this: first i have a txt file, this file's name is sample.txt
from protector import protect_with_lock
protect(file="sample.txt",password_lock="12345")
after i run this code this folder is emty.
from protector import unlock
unlock(file="sample.txt",password_lock="12345")
and this file is come back Thanks for help!