<-- Go Back

Secure USB (share it)

This tutorial explains how to easily create a hidden directory inside any FAT-formated USB storage device. Please follow the instructions:

1 - insert the device, download this archive, copy and unzip it inside the device (better if empty);

2 - do double-click on win.bat if you use Windows or on lnx.bat if GNU/Linux, in which case fatattr must be installed first;

3 - delete secure_usb.zip, win.bat, lnx.bat and the readme file.

Now you have a hidden directory called .data where you can copy documents, files and applications and keep them away from prying eyes. To show that directory on GNU/Linux with Gnome desktop, in the Nautilus file manager simply press Ctrl+H, press again to hide it anew. A similar way on macOS, in the Finder file manager press Command + Shift + . (full stop/period), press again to hide it anew. On recent Windows follow the illustration below.

How To Show Hidden System Files And Directories On Windows 10

-

Secure USB (and every thing with it) is released under the simplified BSD license:

Copyright (c) 2023, Pasquale Frega
All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.

2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.