Using Encryption

Linux supports different options for encrypting files, directories, and volumes. In this section, you’ll look at some of these encryption tools. This section is just a snapshot; it’s not meant to be a comprehensive list. You’ll also see an example of how each of these data types can be encrypted. The tool selected is based on the default tool used for Ubuntu and Red Hat distributions.

Generally, you don’t need to encrypt everything. The files of an open source operating system are well known. However, user files are often sensitive and are therefore excellent candidates for encryption. To that end, perhaps the prime candidate for encryption is any partition, volume, or RAID array associated with the /home/ directory. Alternatively, ...

Get Security Strategies in Linux Platforms and Applications, 3rd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.