I have a requirement to implement a function (in C #) in order to lock a folder on a USB drive. After locking on any PC without my software, this folder is inaccessible (or better invisible). I tried using an ACL (access control list), but it does not work on USB.
My initial requirement is “Do not let people see the contents of a folder on a USB drive without my software. When a user logs into my software, this folder is available, and when a user logs out, my software has to do something to this the folder has become unavailable on other PCs. " It makes me think about locking a USB folder.
I already tried to work to draw a folder (not compress) with a password, but zipping takes time (about 2 minutes for 1 GB). Therefore, if I have a large amount of data (100 GB), the process takes too much time (the software must process this when registering).
Thuan source
share