How to lock a folder on a USB drive?

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).

+3
source share
3 answers

To make the data inaccessible, you need to create an encrypted container, which your program will present as a virtual folder on an existing disk or virtual disk (drive letter). The first is possible with the Pismo File Mount, the second with our product ( Solid File System ). Both approaches require installing the kernel mode driver in the system. This is not an application requirement, but an OS architecture requirement.

, Pismo File Mount , SolFS , ( , ).

, : , . TrueCrypt #.

+8

TrueCrypt?

, , . , .

TrueCrypt :

  • - ()
  • /

.. , TrueCrypt /, Windows ( . ).

TrueCrypt - , . () .

TrueCrypt - , TrueCrypt. , USB, USB .

+5

, , - . http://www.truecrypt.org/

However, I think it works at the partition level and not at the disk level (I think it formats the partition using its own file system).

+1
source

Source: https://habr.com/ru/post/1760981/


All Articles