Computer Networks Essentials / Network Security

Security Goals

πŸ€” What Are Security Goals? (Basic Idea)

Whenever data is sent over a network, it faces many risks:

  • Hackers πŸ•΅οΈ

  • Data theft πŸ’Ύ

  • Data modification ✍️

  • Unauthorized access 🚫

πŸ“Œ Security Goals define what we want to protect and how we want to protect it.


🧠 Simple Definition

πŸ“Œ Security goals are the fundamental objectives that ensure information is protected from unauthorized access, modification, and disruption.


🧠 Why Security Goals Are Important

Security goals help to:

  • Protect sensitive data πŸ”

  • Maintain user trust 🀝

  • Prevent cyber attacks 🚨

  • Ensure smooth system operation βš™οΈ

πŸ“Œ Without security goals β†’ network is unsafe ❌


🧩 The Core Security Goals (CIA Triad)

The three primary security goals are called the CIA Triad:

1️⃣ Confidentiality

2️⃣ Integrity

3️⃣ Availability

Let’s understand each one clearly and deeply πŸ‘‡


🧠 What is Confidentiality?

Confidentiality ensures that:

  • Information is not disclosed

  • Only authorized users can access data

πŸ“Œ In simple words:

Data should be seen only by the right people.

🧠 Real-Life Example

  • ATM PIN πŸ”’

  • Email password πŸ”‘

  • Bank account details πŸ’³

πŸ‘‰ Only the owner should know these.

πŸ›‘οΈ How Confidentiality Is Achieved

  • Encryption πŸ”’

  • Authentication (passwords, biometrics)

  • Access control

  • Firewalls

❌ If Confidentiality Fails

  • Data leaks

  • Identity theft

  • Privacy violation

🧠 What is Integrity?

Integrity ensures that:

  • Data is accurate

  • Data is not altered without permission

πŸ“Œ In simple words:

Data should not be changed during storage or transmission.

🧠 Real-Life Example

  • Exam marks πŸŽ“

  • Bank transaction amount πŸ’°

  • Medical records πŸ₯

πŸ‘‰ Even a small change can cause big damage.

πŸ›‘οΈ How Integrity Is Achieved

  • Hashing

  • Checksums

  • Digital signatures

  • Message authentication codes (MAC)

❌ If Integrity Fails

  • Wrong data delivered

  • Financial loss

  • System malfunction

🧠 What is Availability?

Availability ensures that:

  • Systems and data are accessible

  • Services are available when needed

πŸ“Œ In simple words:

Authorized users should always get access to services.

🧠 Real-Life Example

  • Banking website during salary day πŸ’Ό

  • Emergency services πŸš‘

  • Online exams πŸ§‘β€πŸŽ“

πŸ›‘οΈ How Availability Is Achieved

  • Backup systems

  • Load balancing

  • Redundant hardware

  • Protection against DoS attacks

❌ If Availability Fails

  • Website crashes

  • Service disruption

  • Business loss


βš–οΈ CIA Triad Summary Table

Goal

Meaning

Example

Confidentiality

Prevent unauthorized access

Password protection

Integrity

Prevent unauthorized modification

Hashing

Availability

Ensure access to services

Server redundancy


🧠 Additional Security Goals (Beyond CIA)

Modern systems also focus on:


πŸ“Œ Verifies who you are.

Examples:

  • Username & password

  • OTP

  • Biometrics

πŸ“Œ Determines what you are allowed to do.

Example:

  • Admin vs normal user permissions

πŸ“Œ Ensures that:

  • Sender cannot deny sending a message

Example:

  • Digital signatures in online transactions

πŸ“Œ Tracks:

  • Who did what

  • When it happened

Example:

  • Audit logs


🧠 Security Goals in Network Communication

During data transmission:

  • Confidentiality β†’ Encryption

  • Integrity β†’ Hash + signature

  • Availability β†’ Secure infrastructure


✍️ Exam-Oriented Definitions

πŸ“Œ Confidentiality:

Protection of information from unauthorized disclosure.

πŸ“Œ Integrity:

Protection of data from unauthorized modification.

πŸ“Œ Availability:

Ensuring reliable and timely access to data and services.


🧠 Memory Tricks

  • C = Can you see it? (Confidentiality)

  • I = Is it correct? (Integrity)

  • A = Are services available? (Availability)


⭐ One-Line Summary

πŸ”Ή Security goals ensure that information remains confidential, accurate, and available to authorized users at all times.