Table of contents:
- 1. BitLocker on Windows
- 2. Password for the archive
- 3. "Disk Utility" in macOS
- 4. Utility "Disks" in Linux
- 5. VeraCrypt application
2024 Author: Malcolm Clapton | [email protected]. Last modified: 2024-01-13 00:26
Various data protection options for Windows, macOS and Linux, as well as cross-platform solutions.
1. BitLocker on Windows
- Suitable for: Windows PC owners.
- Advantages: ease of use.
- Disadvantages: available only in the maximum and corporate versions of the OS.
How it works
The standard encryption feature has been around since Windows Vista. It allows you to encrypt the contents of any disk and provides access to it only after entering a password. However, there is one caveat: BitLocker is missing in the basic editions of Windows.
How to set a password
Search for BitLocker and open.
Click Turn on BitLocker next to the desired drive in the list.
Wait for the initialization process to complete.
Check the box "Use a password to unlock the disk", enter the code combination twice and click "Next".
Select one of the options for backing up the recovery key and click Next.
Specify the desired storage location for the key and click "Save".
Click Next again.
Select Encrypt Used Space Only if the drive is new, or Encrypt Entire Drive if it already contains files. Click Next.
Check "Compatibility Mode" and click "Next" again.
Click "Start Encryption".
Wait for the process to finish. If necessary, it can be paused using the "Pause" button.
Now, when connecting a flash drive, a notification will appear that the disk is encrypted. Click on it to unlock.
Enter the password in the window that opens and click "Unblock".
The flash drive will now appear in Explorer.
2. Password for the archive
- Suitable for: for those who do not want to bother too much.
- Advantages: works in any OS.
- Disadvantages: compromise option.
How it works
Not quite a complete solution, which nevertheless has the right to life and is quite effective for a small number of files. Instead of encrypting the entire disk, you can use the ability to set a password for the archive, which is available in any archiver, for example WinRAR. In this case, the folder with the necessary files is archived, which are extracted only when the code combination is entered. At the end of the work, a password-protected archive is created again, and the original folder with files is deleted.
How to set a password
Select the folder to which you want to set the password and call the context menu.
Select "Add to Archive".
Specify the desired archiving parameters and click "Set Password".
Enter the password twice and click "OK".
Click "OK" again.
Wait for the backup to complete.
Now, when you try to extract files, you will need to enter the previously set password. You can view the contents of the archive without an access code.
3. "Disk Utility" in macOS
- Suitable for: Mac users.
- Advantages: Apple proprietary solution, ease of use.
- Disadvantages: cannot be used for a flash drive with files, only for a formatted device.
How it works
Starting with High Sierra in macOS, it became possible to format disks into the APFS file system, which allows using encryption and, accordingly, opens access to the contents of the disk only after entering a password. This is a standard feature, so it is highly stable and simple.
How to set a password
Open Disk Utility through Spotlight or from the Applications folder → Utilities. Click on the "View" icon and select "Show all devices".
Highlight the disk in the list on the right, click "Erase" and in the "Partition scheme" select "GUID Partition Scheme".
Now in the drop-down menu "Format" select "APFS (encrypted)".
Set a password, add a hint and click Select.
Change the disk name if necessary and click "Erase".
Wait for all changes to be applied.
At the end of the process, click "Finish".
Now, whenever you connect a flash drive to your Mac, you will be prompted to enter the unlock code. Type your password and click "Remove protection".
The drive will then appear in Finder.
4. Utility "Disks" in Linux
- Suitable for: Linux PC owners.
- Advantages: ease of use.
- Disadvantages: cannot be used for a flash drive with files, only for a formatted device.
How it works
Modern Linux distributions have an analogue of BitLocker and disk encryption in APFS. The function works in the same way: after configuration, the USB flash drive can be viewed only after entering the password. It is important not to forget it, because an encrypted disk cannot be formatted without it. Of course, after setting the password, the flash drive will only work with Linux, and is not recognized in other operating systems.
How to set a password
Open the standard "Disks" utility through the search.
Select your USB stick from the side menu and press the minus sign to delete the partition. Please note that all content will be destroyed! Save important files first, if necessary.
Click "Delete" to confirm.
Now create a new section by clicking the plus sign.
Specify the size of the section and click "Next".
Select the type "Internal disk for use only with Linux systems (Ext4)" and check the box next to "Password protected volume (LUKS)". Click Next.
Set a password and repeat it, and then click "Create".
Now, when connecting a flash drive, the system will prompt you to enter a code combination to unlock the disk.
5. VeraCrypt application
- Suitable for: for those who need maximum compatibility.
- Advantages: work in any OS.
- Disadvantages: relative complexity.
How it works
VeraCrypt, one of the most popular free disk encryption applications, allows you to provide many different lock settings. It can create separate secure containers and fully encrypt selected disks. To unlock and connect such a disk to the file system, you will need to enter a password. At the same time, due to the availability of versions for different platforms, the flash drive can be blocked on one computer, and read on any other with VeraCrypt installed.
How to set a password
Download the software application and install. Open VeraCrypt and click Create Volume.
Select the Create a volume within a partition / drive option and click Next.
Next, check Standard VeraCrypt volume and click Next.
Enter the password for the account (user or administrator) to continue and click OK.
Find your flash drive in the list by size and name, and then click OK.
Click Next again.
Confirm the selected settings by clicking on the Yes button.
Click Yes again to confirm formatting the disk. Keep in mind that all files on it will be deleted!
Select an encryption algorithm. You can leave the default AES. Then click Next.
Enter the password to unlock the flash drive and click Next.
Choose the first option if you are not going to store files larger than 4 GB on the flash drive, or the second if you are planning to. Click Next again.
Check the box next to Quick format for quick formatting and click Next.
Move the mouse inside the program window until the progress bar is full and click Format.
Click Yes to confirm the deletion of the disc contents.
When finished, click OK.
Now click Exit to exit the disk creation interface. All is ready.
To unlock the flash drive, open VeraCrypt and click Select Device.
Find the drive in the list and click OK.
In the main application window, click the Mount button.
Enter the password to unlock the flash drive and click OK. It will now connect to the system and appear in the file manager.
When you are finished working with the flash drive, launch VeraCrypt, select the disk and click Dismount to disconnect.
Recommended:
6 ways to make a bootable USB flash drive with Windows
To make a bootable USB flash drive, you need to write an OS image to any USB device with a volume exceeding 4 GB. All data from the flash drive will be erased
Why the computer does not see a USB flash drive or external hard drive and what to do about it
Common reasons why the computer does not see the data storage device, and the simplest ways to solve the problem
Leo Babauta on working and non-working motivations to learn
Blogger Leo Babauta will tell you what the motivation for learning should be so that the ardor does not fade in a few days, as well as what motivations do not work
Why working better doesn't mean working harder
Five tips for those who want to grow professionally and at the same time save time and energy to achieve personal goals. Leveraging the Bullet Journal system, shortening meetings, setting limits on tasks - we've heard a lot of time management tips.
How to use a USB flash drive: 10 unusual ways
Save your favorite music, speed up the operating system, deal with viruses, protect passwords - for all this you only need a regular flash drive