TIPS: Use Cryptsetup to encrypt the USB flash drive

Source: Internet
Author: User

TIPS: Use Cryptsetup to encrypt the USB flash drive

Today, the storage and data transmission capabilities of USB flash drives are very strong, and can be run across various platforms. The storage space even reaches 256 GB, comparable to the capacity of common hard disks in the past. Here, we will show you how to encrypt the USB flash drive. Mom no longer needs to worry about me ......

Importance of protecting USB flash drives

The theft of laptops and USB flash drives is one of the main causes of data leakage in the past few years. However, compared with laptops, people usually do not pay much attention to the security of the USB flash drive. But if a criminal steals a USB flash drive worth only $12, it may cost a company about a million dollars.

As the storage capacity of the USB flash drive increases and the price decreases, you can easily store all your personal data in a portable and Compact USB flash drive. Although we can't do without a USB flash drive, we also need to face up to some shortcomings of the USB flash drive. For example, a USB flash drive is very vulnerable to theft and loss.

Encrypted USB flash drive storage device

Enterprises need to pay attention not only to access passwords, but to protect data by encrypting devices. Next we will introduce how to create an encrypted USB flash disk in Ubuntu:

First, you need to install cryptsetup in Linux:

Sudo apt-get install-y cryptsetup

After the installation, insert the USB flash drive you want to encrypt into the computer. Remember to back up the data in the USB flash drive because the disk is required during the encryption process.

After you back up the data in the USB flash disk, open the disk tool in Dash.

Now, select your USB flash drive from the list on the left and click the stop or unmount button under the highlighted area.

Next, click the gear icon in the row and select "format". A window is displayed.

You can select the fast or slow formatting option (the slow speed is safer), and then select "encrypt and be compatible with Linux (LUKS + Ext4 )".

Finally, you need to enter a name for the USB flash drive, set a password, and start formatting.

Depending on the selected formatting speed options, you need to wait for a different time. Once the USB flash drive is pulled out, you will see the following prompt:

Congratulations, you have successfully encrypted your USB flash drive.

It's so easy to encrypt a USB flash drive in Ubuntu. Every time you connect the USB flash drive to a Linux system, it will allow you to provide a password to unlock it, and then you can use it as before. Even if you lose the USB flash drive, the data in it is still safe, and hackers cannot obtain the content without relevant authentication.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.