I have a folder (lets say folder-ABC) in my computer (lets say computer-1).
I wish to make a python program which will ask for password, the moment I try to copy/move/delete the folder-ABC in an external hard-drive.
I referred a few documentations that refers to folder locking. (example: https://pythonsecret.blogspot.com/2017/08/how-to-create-folder-lock-with-password.html)
When the folder-ABC is locked, it only gets disappeared from the working directory. I can still copy the entire directory in an external hard-drive, recreate the directory in computer-2, run the same python program in computer-2, and make the locked folder-ABC visible once again in computer-2.
However, right at the beginning, I need to ensure that the the folder-ABC does not get copied to any external drive and ask for password to do so.
Can anyone please let me know whether is there any documentation available which can help me out to do so ?