• Foundation
  • About 13 min
  • 5 practice questions

Defences: firewalls, antivirus, encryption and updates

Explain how firewalls, antivirus, encryption, software updates and backups protect a system.

If something looks wrong, please tell us.

Good security uses layers. If one layer fails, another still helps. These are the main layers you must know.

Main protections

Defences
DefenceWhat it does
FirewallFilters network traffic, blocking connections that break its rules
AntivirusScans for and removes known malware
Updates / patchesFix weaknesses found in software
BackupA separate copy of data for recovery
EncryptionScrambles data so only someone with the key can read it
Two-step verificationNeeds a second proof such as an OTP besides the password

Encryption

Readable data is plaintext; the scrambled form is ciphertext. In symmetric encryption the same key locks and unlocks. In asymmetric encryption there are two keys, a public key to lock and a private key to unlock. A simple old example is the Caesar cipher, where each letter moves a fixed number of places in the alphabet.

Worked examples

Example 1. Encrypt CAT with a Caesar shift of 3. C moves to F, A to D and T to W, giving FDW.

Example 2. Decrypt KHOOR with a shift of 3. Move each letter back 3: K to H, H to E, O to L, O to L, R to O, giving HELLO.

Example 3. A site address begins with https and shows a padlock. What does that mean? The connection between you and the site is encrypted, though it does not prove the site itself is trustworthy.

Layers: firewall, antivirus, updates, backups, encryption, two-step verification.

— Remember

Key takeaways

  • Use several layers of protection.
  • Encryption protects data from being read without the key.
  • Updates and backups are simple but powerful defences.

Check your understanding

  1. 1. Which defence filters network traffic and blocks connections that break its rules?

    1. Antivirus
    2. Firewall
    3. Backup
    4. Ciphertext
    Show answer

    Answer: B. A firewall filters network traffic by rules; antivirus scans for malware.

  2. 2. In symmetric encryption

    1. A public key locks and a private key unlocks
    2. The same key locks and unlocks the data
    3. No key is used at all
    4. The data is copied to a second disk
    Show answer

    Answer: B. Symmetric encryption uses one key both ways; two keys (public and private) is asymmetric encryption.

  3. 3. Encrypt BAD with a Caesar shift of 3 (each letter moves 3 places forward).

    1. YXA
    2. CBE
    3. EDH
    4. EDG
    Show answer

    Answer: D. B moves to E, A to D and D to G, giving EDG.

  4. 4. A website address begins with https and shows a padlock. What does this tell you?

    1. The connection between you and the site is encrypted
    2. The site is guaranteed to be trustworthy
    3. The site contains no malware
    4. The page will load faster
    Show answer

    Answer: A. https means the connection is encrypted; it does not prove the site itself can be trusted.

  5. 5. What do software updates (patches) do?

    1. Make a separate copy of your data
    2. Scramble data so only a key holder can read it
    3. Fix weaknesses found in the software
    4. Filter incoming network traffic
    Show answer

    Answer: C. Patches fix known weaknesses; the other options describe backup, encryption and a firewall.

Privacy · Terms · Refunds · Delivery