Overview

14 Data Security

Data security is presented as protection for the information itself, not just the systems that store or move it, because data often crosses devices, networks, users, and business boundaries. The chapter frames this protection around the CIA triad: confidentiality through encryption and access control, integrity through hashing and digital signatures, and availability through backups, redundancy, and retention planning. It emphasizes that effective security must travel with the data across its full lifecycle, since a file can be secure in one state and exposed in another.

Cryptography is the core technical foundation of the chapter. Symmetric encryption uses one shared key and is fast and efficient, but key distribution is difficult and risky; asymmetric encryption uses public and private key pairs, improving scalability and enabling secure key exchange, authentication, and non-repudiation, though at greater computational cost. Hashing provides a one-way method for detecting changes to data, and digital signatures combine hashing with asymmetric cryptography to prove authenticity and protect against denial of authorship. Public key infrastructure adds trust by binding public keys to verified identities through certificates, certificate authorities, and revocation mechanisms.

The chapter also explains that security depends on understanding how data is handled in different states and phases. Data at rest, in transit, and in use each face different risks and require different safeguards, while the lifecycle spans creation, storage, use, sharing, archiving, and destruction. Classification and labeling help organizations apply proportionate controls, retention policies limit unnecessary exposure, and secure destruction methods such as wiping, purging, degaussing, or physical destruction prevent recovery of discarded information. Finally, data loss prevention systems complement cryptography by monitoring and blocking unauthorized exfiltration through email, cloud services, endpoints, and removable media, though their effectiveness depends heavily on accurate labeling and visibility into data flows.

Illustration of Alice sending a confidential message to Bob using symmetric encryption
Illustration of Alice sending a confidential message to Bob using asymmetric encryption
Illustration of Alice sending a message to Bob using hashing to ensure integrity
Illustration of digital signing and verification of a document
Illustration of Alice sending a message to Bob using a Public Key Infrastructure
The secure data handling lifecycle diagram.
Overview of enterprise Data Loss Protection (DLP) architecture with centralized policies enforced on network, endpoint, and storage layers.

Answer to Review Questions

  1. The correct answer is A. The primary purpose of encryption is to protect data from unauthorized access. Encryption transforms data into unreadable and can only be decrypted by anyone with a valid key; thus, it is used to protect data from unauthorized access and ensure the integrity of the data. Even though it can be used as a preventive measure for data breaches, it is not the primary purpose of encryption, and neither used to process data efficiently or analyze data.
  2. The correct answer is B. A data retention policy is a set of guidelines that helps organizations manage their data and determine how long certain types of data should be kept. The other options do not accurately describe the primary objective of a data retention policy.
  3. The correct answer is B. Digital signatures offer the security benefits of data integrity and non-repudiation. Indeed, a digital signature can be uniquely linked to a specific sender, offering an undeniable (non-repudiable) proof of the sender's identity and of the fact that the message originated from them. Moreover, when a digital signature is used, any changes made to the data after it has been signed will invalidate the signature, providing a method to check whether the data has been tampered with.
  4. The correct answer is D. Overwriting involves writing multiple patterns across all storage media. This method ensures that the original data cannot be recovered. For example, if an organization wants to repurpose a hard drive, they can overwrite the drive with multiple data patterns to ensure that the original data is completely erased and cannot be recovered. The other options are methods of media sanitization, but none involves writing multiple patterns across all storage media.
  5. The correct answer is A. A DLP (Data Loss Prevention) tool is designed to detect and prevent the unauthorized transfer of sensitive data outside an organization's network. These tools monitor data in use, in transit, or at rest, and apply policies to prevent the sharing or transfer of sensitive information in violation of those policies.

FAQ

What is the primary purpose of encryption in data security?Encryption transforms readable data into an unreadable form so that only authorized parties with the correct key can access it, protecting confidentiality.
What is the difference between symmetric and asymmetric encryption?Symmetric encryption uses the same secret key for both encryption and decryption, while asymmetric encryption uses a public-private key pair, with the public key shared openly and the private key kept confidential.
Why is key distribution a challenge in symmetric encryption?Because every user or system that needs access must receive the same secret key securely. If the key is intercepted, stolen, or leaked during distribution, the entire system is at risk.
What is the main purpose of hashing?Hashing converts input data into a fixed-length hash value to verify integrity. It is designed to detect changes in data, not to keep the data confidential.
How do digital signatures support data security?Digital signatures verify data integrity, authenticity, and non-repudiation. They are created by hashing the data and signing the hash with the sender’s private key, then verified using the sender’s public key.
What is Public Key Infrastructure (PKI)?PKI is a framework that establishes trust in public keys by using trusted third parties, digital certificates, and certificate authorities to verify identities and support secure communication.
What are the three states of data, and why do they matter?The three states are data at rest, data in transit, and data in use. Each state has different risks and requires different protections, such as encryption, secure communication protocols, and memory protections.
What is data classification, and why is it important?Data classification assigns sensitivity labels to information so organizations can apply appropriate protection, handling, retention, and access controls based on the value and risk of the data.
What is the purpose of data retention and data destruction policies?Retention policies define how long data should be kept based on legal and business needs, while destruction policies ensure data is securely removed when no longer needed so it cannot be recovered or misused.
What is Data Loss Prevention (DLP)?DLP is a set of tools and controls that monitor data movement and block unauthorized transfer of sensitive information through email, cloud services, endpoints, removable media, and networks.

pro $24.99 per month

  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • choose one free eBook per month to keep
  • exclusive 50% discount on all purchases
  • renews monthly, pause or cancel renewal anytime

lite $19.99 per month

  • access to all Manning books, including MEAPs!

team

5, 10 or 20 seats+ for your team - learn more


choose your plan

team

monthly
annual
$49.99
$499.99
only $41.67 per month
  • five seats for your team
  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • choose another free product every time you renew
  • choose twelve free products per year
  • exclusive 50% discount on all purchases
  • renews monthly, pause or cancel renewal anytime
  • renews annually, pause or cancel renewal anytime
  • Fundamentals of Cybersecurity ebook for free
choose your plan

team

monthly
annual
$49.99
$499.99
only $41.67 per month
  • five seats for your team
  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • choose another free product every time you renew
  • choose twelve free products per year
  • exclusive 50% discount on all purchases
  • renews monthly, pause or cancel renewal anytime
  • renews annually, pause or cancel renewal anytime
  • Fundamentals of Cybersecurity ebook for free