📑 Contents

Chapter 6.1: Data Security

9618 AS Computer Science

📚 Learning Objectives
🌟 Did You Know?

Data security is a prerequisite for ensuring data integrity and data privacy. Without proper security measures, data cannot be guaranteed to remain accurate, complete, and private. Organizations must implement comprehensive security strategies to protect their digital assets!

SECURITY PRIVACY INTEGRITY Data Protection 🔒

1. Data Security, Privacy, and Integrity

Understanding the fundamental differences between data security, data privacy, and data integrity is essential for protecting digital information systems.

TermDefinitionKey FocusExample
Data SecurityProtecting data from unauthorized access, theft, or attacksPreventing breaches or leaksUsing encryption, firewalls, and passwords
Data PrivacyEnsuring data is collected, stored, and shared respecting user rightsControlling who can access and use personal dataAsking for user consent before collecting personal information
Data IntegrityEnsuring data is accurate, complete, and unaltered during storage or transferMaintaining correctness and reliabilityUsing checksums or validation rules to detect changes
📖 Key Definitions

1.1 Threats to Security of System

⚠️ Major Threats
Security Privacy Integrity Data Protection Keep data safe Control access Stay accurate
💡 Exam Tip

Remember: Security = keeping data safe from threats (e.g., hackers), Privacy = making sure data is used fairly and with consent, Integrity = making sure data stays accurate and unchanged.

2. User Accounts and Passwords

2.1 User Accounts

A user account is an identity created for a person in a computer or computing system. User accounts are used to authenticate a user (prove a user is who they say they are) and control access rights.

📖 Purpose of User Accounts
Example: In a hospital system, nurses and doctors should only have access to medical information regarding the patients they are treating. Receptionists only have access to limited patient information such as name, address, and ward number.

2.2 Passwords

Passwords provide the first line of defense against unauthorized access. The stronger your password, the more protected your computer will be from hackers and malicious software.

📝 Characteristics of Strong Passwords
Way to Protect PasswordsDescription
Run Anti-SpywareMake sure passwords are not being sent to whoever put spyware on your computer
Regularly change passwordsIn case they have been seen by someone else, illegally or accidentally
Make passwords difficultEnsure passwords are hard to crack or guess
Use different passwordsDon't reuse the same password across multiple accounts
❌ Common Password Mistakes
User Username Login System Password Verified Access

3. Authentication Techniques

Authentication is the process of ensuring that a system is secure by asking the user to complete tasks to prove they are an authorised user.

3.1 Digital Signatures

A digital signature securely associates a signer with a document. It provides evidence of origin, identity and status of electronic documents.

📖 What Digital Signatures Confirm

3.2 Biometrics

Biometrics is the most suitable means of identifying and authenticating individuals through unique biological characteristics.

Biometric TypeHow It WorksApplication
Fingerprint ScanCompares fingerprint patterns against stored templatesSmartphones, laptops
Retina/Iris ScanUses pattern of blood capillary structure in the eyeHigh-security facilities
Face RecognitionMaps facial features using distance between pointsMobile devices, airports
Voice RecognitionAnalyses voice patterns and speech characteristicsPhone banking
Fingerprint Retina/Iris Face Voice
💡 Exam Tip

Biometrics provide the highest level of security because they are based on unique physical characteristics that cannot be easily replicated, lost, or stolen.

4. Firewalls

A firewall is a barrier between a network and the internet. It prevents unwanted traffic from entering a network by filtering requests to ensure they are legitimate.

📖 Types of Firewalls

4.1 Tasks Carried Out by Firewall

📝 Firewall Functions
Internet Malware ✗ Firewall Safe ✓ Internal Network
💡 Remember

Firewalls are the primary defence against hacking, malware, phishing, and pharming. However, they cannot protect against threats from inside the network!

5. Antivirus and Encryption

5.1 Antivirus Software

Antivirus software is a computer program that detects and gets rid of computer malware and viruses.

📝 How Antivirus Works

5.2 Anti-Spyware

Anti-spyware detects and removes spyware programs. It works by:

5.3 Encryption

Encryption converts data into a secret code so that only authorised users can read it.

TypeDescriptionCharacteristics
SymmetricSame key encrypts and decryptsFast but key must be shared securely
AsymmetricPublic key encrypts, private key decryptsMore secure for sending data
HELLO Plaintext 🔐 Encrypt Xk9#mP Ciphertext Decrypt

6. Threats: Hacking and Malware

6.1 Hacking

Hacking is the illegal access to a computer system without the owner's permission.

TypeDescriptionLegal Status
Malicious HackingIllegal access without permission; intention to delete, alter, or corrupt filesIllegal
Ethical HackingAuthorized by companies to check security measuresLegal (with permission)
⚠️ How Hackers Gain Access

6.2 Malware Types

Malware TypeWhat It DoesKey Characteristics
VirusReplicates itself and causes unwanted eventsNeeds an active host program
WormStand-alone virus that spreads over networksReplicates without host
Trojan HorseDisguised as legitimate softwareContains malicious code
SpywareMonitors user activity and gathers informationRecords keystrokes (keylogger)
Logic BombCode activated when conditions metTriggers on specific date/event
Virus Needs host Worm Self-spreading 🎁? Trojan Hidden threat Spyware Watches you 💻 Under Attack!

7. Phishing and Pharming

7.1 Phishing

Phishing is the act of attempting to acquire sensitive information by representing as a trustworthy source via emails.

📝 How Phishing Works
  1. Attacker sends fraudulent emails to many addresses
  2. Email claims to be from reputable company
  3. User clicks on scam link
  4. User is directed to bogus website
  5. User enters personal information
  6. Information is sent to attacker
⚠️ Preventing Phishing

7.2 Pharming

Pharming redirects users to fake websites through DNS manipulation, even when typing the correct URL.

📖 Phishing vs Pharming
PHISHING 👤 📧 👆 Fake! PHARMING bank.com DNS Hacked → Fake Site ⚠️ Always check for https:// and padlock 🔒

8. Access Rights and Data Protection

Access rights control what users can see or do on a network, ensuring appropriate permissions.

Access RightWhat It Means
Full AccessUser can open, create, edit, and delete files
Read-Only AccessUser can view but cannot edit or delete
No AccessUser cannot see or interact with the file at all
Example: School Network
Administrators: Unrestricted access to all files and settings
Teaching Staff: Can access student data but not other staff files
Students: Can only access their own files and folders

8.1 Data Recovery

Causes of Data LossPrevention Method
Hard drive crashesRegular backups, RAID systems
Viruses & MalwareAntivirus software, firewalls
Human errorTraining, confirmation prompts
Power outagesUPS (Uninterruptible Power Supply)
HackersAccess controls, monitoring
Administrator Full Access Staff Managers Students Users Guests Public

9. Key Takeaways

📌 Summary Points

Security, Privacy, and Integrity

Security Measures

Threats to Security

10. Glossary

TermDefinition
Antivirus SoftwareProgram that detects and removes computer malware and viruses
AuthenticationProcess of verifying a user's identity before granting access
BiometricsUsing unique physical characteristics (fingerprint, retina, voice) for identification
Cipher TextEncrypted, unreadable form of data
Data IntegrityEnsuring data is accurate, complete, and unaltered
Data PrivacyEnsuring data is only accessible to authorized users with consent
Data SecurityProtecting data from unauthorized access, corruption, or theft
Digital SignatureSecure method to verify sender identity and document integrity
EncryptionConverting plaintext data into ciphertext for protection
FirewallHardware/software that filters network traffic
HackingUnauthorized access to computer systems or networks
MalwareMalicious software designed to harm computer systems
PharmingRedirecting users to fake websites through DNS manipulation
PhishingFraudulent attempt to obtain sensitive information via deceptive emails
SpywareSoftware that secretly monitors user activity and gathers information
Trojan HorseMalware disguised as legitimate software
VirusSelf-replicating malware that attaches to host programs
WormSelf-replicating malware that spreads across networks without a host

11. Exam-Style Questions

1. Describe the difference between data security and data privacy. [2 marks]

Answer:

  • Data security protects data against loss or corruption through measures like encryption and firewalls
  • Data privacy protects data against unauthorized access by controlling who can view and use the data
2. Explain three ways in which a firewall can protect a computer system. [3 marks]

Answer:

  • Examines traffic between user's computer and public network
  • Prevents access to undesirable sites by maintaining a list of blocked IP addresses
  • Logs all traffic for security auditing
3. Describe two characteristics of a strong password. [2 marks]

Answer:

  • Contains a combination of uppercase and lowercase letters
  • Includes numbers and special symbols
4. Describe the difference between a virus and a worm. [4 marks]

Answer:

  • A virus needs an active host program to run
  • A worm is a stand-alone program that can replicate itself without needing a host
  • Viruses attach themselves to files or programs
  • Worms spread automatically across networks
5. Explain how encryption can protect data during transmission. [4 marks]

Answer:

  • Encryption converts plaintext data into ciphertext using an encryption key
  • Even if data is intercepted, it cannot be understood without the decryption key
  • The receiver uses the same or matching key to decrypt the data
  • This ensures only authorised parties can read the transmitted data

11. Exam-Style Questions (continued)

6. Describe what is meant by phishing and explain two ways to protect against it. [4 marks]

Answer:

Phishing is sending fraudulent emails that appear to be from reputable sources to trick users into revealing sensitive information.

Protection methods:

  • Do not click on links in emails unless certain they are safe
  • Look for https and the green padlock symbol in the browser
7. Explain the difference between malicious hacking and ethical hacking. [4 marks]

Answer:

  • Malicious hacking is illegal access without permission, usually to steal data or cause harm
  • Ethical hacking is authorized by companies to test security measures
  • Malicious hacking is illegal; ethical hacking is legal with written permission
  • Ethical hackers are paid for their services; malicious hackers face criminal charges
8. A school network uses access rights. Explain the purpose of access rights. [3 marks]

Answer:

  • Access rights control what users can see or do on a network
  • They ensure users can access files they need but cannot access restricted information
  • Example: Students have read-only access to course materials, while teachers have full access
9. Describe two ways in which antivirus software protects a computer system. [2 marks]

Answer:

  • Compares files against a database of known viruses
  • Quarantines or removes infected files to prevent spread
10. Explain what is meant by data integrity and describe one method to ensure it. [3 marks]

Answer:

  • Data integrity means ensuring data is accurate, complete, and unaltered
  • It prevents errors, corruption, or unauthorized alterations
  • One method: Using checksums to verify data hasn't been changed during transmission

12. Exam Success Tips

💡 Security vs Privacy vs Integrity
🧠 Memory Trick: Malware Types
💡 Phishing vs Pharming
❌ Common Mistakes to Avoid

12. Exam Success Tips (continued)

💡 Answer Structure Tips
🌟 Quick Reference Table
TopicKey Point
User AccountsAuthenticate users and control access rights
PasswordsStrong = upper/lower + numbers + symbols
FirewallBarrier between network and internet
AntivirusDetects and removes malware
EncryptionConverts plaintext to ciphertext
BiometricsFingerprint, retina, face, voice
📌 Final Exam Reminders