How to hide directories and files from users?
-
- Posts: 16
- Joined: Sun 04 Aug 2013, 21:14
This works well as not everyone is gonna know what you know- the commands to open it.
When done it's like this to unmount:
Then this again to access:
EASY? 50/50.. Not if you don't frequent a shell.
Could it be automated? Probably..
ping -q SFR
Is there a GUI? Yep.
More? Yep.
Code: Select all
sh-4.1# encfs -o nonempty ~/.unassuming_named_folder ~/unassuming_named_folder
Creating new encrypted volume.
Please choose from one of the following options:
enter "x" for expert configuration mode,
enter "p" for pre-configured paranoia mode,
anything else, or an empty line will select standard mode.
?> p
Paranoia configuration selected.
Configuration finished. The filesystem to be created has
the following properties:
Filesystem cipher: "ssl/aes", version 2:2:1
Filename encoding: "nameio/block", version 3:0:1
Key Size: 256 bits
Block Size: 1024 bytes, including 8 byte MAC header
Each file contains 8 byte header with unique IV data.
Filenames encoded using IV chaining mode.
File data IV is chained to filename IV.
File holes passed through to ciphertext.
-------------------------- WARNING --------------------------
The external initialization-vector chaining option has been
enabled. This option disables the use of hard links on the
filesystem. Without hard links, some programs may not work.
The programs 'mutt' and 'procmail' are known to fail. For
more information, please see the encfs mailing list.
If you would like to choose another configuration setting,
please press CTRL-C now to abort and start over.
Now you will need to enter a password for your filesystem.
You will need to remember this password, as there is absolutely
no recovery mechanism. However, the password can be changed
later using encfsctl.
New Encfs Password:
Verify Encfs Password:
sh-4.1#
Code: Select all
fusermount -u unassuming_named_folder
Code: Select all
encfs ~/.unassuming_named_folder ~/unassuming_named_folder
EncFS Password:
Could it be automated? Probably..
ping -q SFR
Is there a GUI? Yep.
More? Yep.