📁 Topic 5 · 5.2 Cyber Security
5.2b Preventing cyber security threats
Edexcel 4CP0 · iGCSE Computer Science · ~11 min read
Notes

Technical Security Measures

Firewalls

A firewall monitors incoming and outgoing network traffic and blocks traffic that does not meet defined security rules. It acts as a barrier between a trusted internal network and untrusted external networks (like the internet). Can be hardware or software.

Antivirus and Anti-malware Software

Scans files, downloads, and email attachments for known malware signatures. Regular updates to the virus definition database are essential to detect new threats. Should be combined with other measures — it cannot stop unknown/new malware.

Encryption

Converting data into an unreadable form using an algorithm and key. Even if data is intercepted, it cannot be read without the decryption key.

  • Data in transit: HTTPS/TLS encrypts data between browser and server
  • Data at rest: full-disk encryption (e.g. BitLocker) protects stored data
  • Used in banking, healthcare, messaging (end-to-end encryption)

Two-Factor Authentication (2FA)

Requires two different types of verification before granting access: something you know (password), something you have (phone/authenticator app), or something you are (biometric). Even if a password is stolen, the attacker cannot log in without the second factor.

Access Control and User Permissions

Limiting access so users can only view or modify data they need for their role (principle of least privilege). Prevents insider threats and limits damage if an account is compromised.

Software Updates and Patch Management

Regular updates fix security vulnerabilities in operating systems and applications. Unpatched software is a common attack vector — many major breaches exploit known but unpatched vulnerabilities.

Human/Organisational Measures

MeasureHow it helps
Staff training and awarenessHelps users recognise phishing emails and social engineering attacks
Strong password policiesRequires long, complex, unique passwords; reduces brute force risk
Regular backupsEnables recovery from ransomware attacks or data loss
Physical securityLocks, CCTV, ID badges prevent unauthorised physical access to systems
Acceptable use policy (AUP)Sets rules for how users may use organisational systems

Threat-to-Protection Matching

ThreatBest protection
Malware/virusAntivirus software, regular updates
PhishingStaff training, email filtering, 2FA
Brute forceStrong passwords, account lockout, 2FA
Man-in-the-middleEncryption (HTTPS/TLS), avoid public Wi-Fi
DoS/DDoSFirewall, traffic filtering, rate limiting
RansomwareRegular backups, antivirus, patching
SQL injectionInput validation, parameterised queries

Cloud Security

When data is stored in the cloud (on remote servers), additional security considerations apply:

  • Shared responsibility: the cloud provider secures the infrastructure; the user/organisation secures their data and access controls
  • Strong, unique passwords and 2FA should protect cloud accounts
  • Data should be encrypted both in transit (HTTPS/TLS) and at rest
  • Access permissions should be carefully managed — only authorised users should access sensitive data
  • Regular audits of who has access to cloud resources are essential

Penetration Testing (Ethical Hacking)

Penetration testing (pen testing) involves authorised security professionals attempting to break into an organisation's systems to find vulnerabilities before malicious attackers do.

  • Testers use the same tools and techniques as real attackers
  • Findings are reported so vulnerabilities can be fixed
  • Also called ethical hacking — done with permission and for defensive purposes
  • Organisations may employ internal pen testers or hire external security firms

Audit Trails and Secure Coding

Audit Trails

An audit trail (or log) is a record of all significant system events — who logged in, what data was accessed or modified, and when. Audit trails help detect suspicious activity, investigate breaches after the fact, and demonstrate compliance with regulations.

Secure Coding Practices

  • Input validation — check and sanitise all user input to prevent SQL injection and other injection attacks
  • Parameterised queries — use prepared statements to interact with databases safely
  • Least privilege — code should only request the permissions it absolutely needs
  • Error handling — avoid revealing sensitive system information in error messages
  • Code reviews and testing — identify security flaws before deployment
📝 Exam Tip: In a scenario question, match the protection to the specific threat described. If asked about protecting against phishing: staff training + 2FA. If asked about protecting against brute force: strong passwords + account lockout after failed attempts + 2FA. Never just say "use antivirus" as a catch-all.
⚠️ Common Mistakes
  • Saying a firewall stops viruses — a firewall controls network traffic; it does not scan files for malware (that's antivirus)
  • Forgetting that updates are a security measure — patching software is one of the most effective protections against exploitation
  • Saying encryption prevents attacks — encryption protects data from being read if intercepted; it does not prevent the attack itself
← 5.2a Cyber security threats Topic 5 · 5.2 Cyber Security Next: 5.3a The internet →
🔒
Pro Content
Subscribe to access all 47 Edexcel iGCSE lessons.
£7.99/month
or £59/year