This is a 4-digit combination lock created using the file tree system. The combination is entered by clicking one of the 10 folders numbered 0-9 as shown. Clicking on one of the folders reveals 10 more folders. This is repeated four times, once for each number in your combination. For example, if your combination was 5-9-2-7 you would start by opening the 5 folder, followed by the 9, then 2, and finally the 7 folder, in which you can place your files.
This file combination lock is theoretically as secure as an iPhone in terms of the number of combinations available. There are definitely some security flaws to the file combination lock, and it is not intended as a substitute for encrypting your files, but merely a way of adding an extra layer to "hiding" files from other people who may be using the same computer.
Some steps to increase the effectiveness of the file lock
- Make files hidden. (This is probably the best thing to do to add a layer of protection to the file lock.)
- Use a different language to name files. (This makes it harder to use the search box to find files.)
Download
Instructions:
- Download the zip folder
- Extract the contents
- Hide files!
Alternatively, you can use the script below to create your file combination lock yourself using Bash.
#!/bin/bash
# File Combo Lock Creator
# Creates a 4-level deep folder structure with digits 0-9 at each level
# This allows navigation to specific "combinations" like 0/1/5/3/
echo "Creating file combo lock structure..."
echo "Creating folders 4 levels deep (0-9 at each level)..."
for i in {0..9}; do
echo "Creating level 1: $i"
for j in {0..9}; do
for k in {0..9}; do
for l in {0..9}; do
mkdir -p "$i/$j/$k/$l"
done
done
done
done
echo ""
echo "File combo lock structure created successfully!"
echo ""
echo "Structure overview:"
echo "- 10 folders at level 1 (0-9)"
echo "- 100 folders at level 2 (00-99)"
echo "- 1,000 folders at level 3 (000-999)"
echo "- 10,000 folders at level 4 (0000-9999)"
echo ""
echo "You can now navigate to any 4-digit combination like:"
echo " cd 0/1/5/3"
echo " cd 7/2/9/4"
echo " cd 3/3/3/3"
echo ""