Data security

Computer Science AS · Security, privacy and data integrity. The idea in plain words, the rules to remember, the mistake to avoid and a worked example, written and checked by Mega Lecture.

Test this topic freeAll Computer Science AS topics

The idea

Three terms are easy to confuse. Security means protecting data from loss, damage or unauthorised access. Privacy means keeping personal data away from people who have no right to see it. Integrity means the data is accurate, complete and up to date.

Both the data and the computer system need protection. Threats come mainly through networks and the internet: malware such as viruses and spyware, hackers, phishing and pharming.

For each threat, know a measure that reduces the risk. Some measures control who gets in (user accounts, passwords, biometrics, firewalls). Others limit the damage after someone gets in (encryption, access rights).

In simpler words

Security means keeping data safe from loss or people who should not see it. Privacy means keeping personal data private. Integrity means the data is correct. Threats include viruses, spyware, hackers and fake emails that trick you. Some defences stop people getting in, like passwords and firewalls. Others limit the harm, like encryption, which turns data into nonsense without the key.

An everyday comparison

A firewall is like a security guard at a building entrance who checks every visitor against a list of rules. Encryption is like writing a letter in a code only your friend can read: if it is stolen, the thief cannot understand it. The comparison stops working because a guard can use judgement, while a firewall only applies fixed rules, and encryption does not stop the letter being stolen or destroyed.

Rules to remember

Common mistake

Students write that encryption stops hackers from getting the data. It does not prevent access or theft; it only makes the stolen data meaningless without the key.

In the exam

For each threat, name it, describe how it works, then give a matching measure and explain how that measure reduces the risk. For example: phishing tricks users with a fake link, so train users and filter emails; pharming redirects to a fake site even with the right address. Define security, privacy and integrity separately. When writing about encryption, say it makes stolen data meaningless without the key, not that it stops access.

Worked example

A user types the correct web address of an online shop, but a copy of the site opens and records the card details entered. Name the threat and one way to reduce the risk.

  1. The user typed the right address, so no fake link was clicked. This rules out phishing.
  2. Being redirected to a fake site from a correct address is pharming, caused by malicious code on the computer or a changed DNS entry.
  3. Up-to-date anti-malware software can remove the code, and checking for https and a valid digital certificate helps the user notice the fake site.

Answer: Pharming; use up-to-date anti-malware software and check the site's certificate before entering details.

Ask about this

Type what you are stuck on. The helper finds the explanation, worked examples and the notes to read, free and instant.

Keep going

← Language translatorsData integrity →Take a Computer Science AS test