AS Level 9618 · Paper 1 · 6.1
Data Security
Keeping data and computer systems safe from threats. Read the notes, try the past-paper questions, then check the mark scheme.
Past papers from June 2021 to June 202622 questions · 99 marks
In this subtopic
- Security, privacy and integrity of data
- Threats from networks and the internet
- Security measures for a single PC and for a network
- Methods that protect data, such as encryption and backup
6.1 · 1 of 20Book pages Contents
Security, privacy and integrity
Three words sound like the same thing, but Cambridge marks them as three different things: the security, the privacy and the integrity of data.
Aga Khan University Hospital (a large private hospital in Karachi) holds a record for every patient it has treated. One record can fail in three ways. It can be destroyed by a failed disk. It can be read by the wrong person. Or it can still be there and simply be wrong, for example a blood group typed in badly four years ago. Three words for three failures:
| Security of data | Privacy of data | |
|---|---|---|
| What it protects against | Loss: the data is destroyed, corrupted or amended. | Unauthorised access: the data is seen by someone who should not see it. |
| The question it answers | Is the record still there, and still right? | Who is allowed to open it? |
Mark scheme wording: security and privacy
- Security protects data against loss.
- Privacy protects data against unauthorised access.
- Privacy on its own: ensuring data can only be accessed by, or disclosed to, authorised persons (also accepted: ensuring data cannot be accessed by, or disclosed to, unauthorised persons).
Integrity of data is never asked as a contrast, only what it means, for one mark. The wrong blood group has perfect security and perfect privacy, and it is the most dangerous of the three.
Mark scheme wording: integrity
- Ensuring the accuracy, completeness or consistency of data (during or after processing).
- Also accepted: ensuring the data is up to date.
Worked example
State the difference between the security and the privacy of data. [1]
- Step 1One mark needs one sentence with both halves. A difference question scores nothing for describing only one of them, even twice.
- Step 2Use the two nouns: loss against unauthorised access.
- Step 3Answer: "Security prevents against loss while privacy prevents unauthorised access."
Note "Prevents against" is not good English, but it is exactly what the Cambridge mark scheme prints, so it is safe to copy as it stands.
Note Be careful which question you were asked. Asked for the difference, Cambridge wants loss against unauthorised access. Asked why data needs to be kept secure, it also accepts "to prevent unauthorised access", which are the words it has just called privacy. Both are right for their own question. No mark scheme points this out.
Practise this: past-paper questions
- June 2021 · Paper 12 · Q8(a)Describe the difference between the security and privacy of data
- June 2022 · Paper 11 · Q3(a)State the difference between the security of data and the privacy of data
- November 2023 · Paper 12 · Q5(a)State the meaning of privacy of data
- November 2023 · Paper 12 · Q5(b)State the meaning of integrity of data
Used later in
6.1 · 2 of 20Book pages Contents
Protecting the data and the computer system
The hospital protects two different things, and Cambridge marks them separately: the data (the records themselves) and the computer system they are stored on. They fail in different ways, and a student who writes two good sentences about the data scores only one mark.
| What is protected | What goes wrong without it | What protects it |
|---|---|---|
| The data | Someone amends, deletes or takes it. | Backups, access rights, encryption |
| The computer system | Someone installs malware on it, or damages it so nobody can use it at all. | Firewall, anti-malware, physical security |
Mark scheme wording: why both need protecting (max 1 for data, max 1 for the system)
- Data needs protecting from someone amending, deleting or taking it.
- The computer system needs protecting to stop people, for example, installing malware or damaging the system.
Worked example
Explain why the hospital needs to keep both its data and its computer system secure from unauthorised access. [2]
- Step 1Answer A: "So nobody can steal the records, and so nobody can delete them." Two true sentences, but both are about the data, and the mark scheme gives at most one mark for the data. 1 mark.
- Step 2Answer B: "The data needs protecting so nobody can amend or delete the records. The system needs protecting so nobody can install malware on it or damage it." One sentence about the data and one about the system. 2 marks.
If you are asked only why data needs to be kept secure (the data, not the system), one mark comes from any of these:
Mark scheme wording: why data needs to be kept secure
- To stop the data being lost, corrupted or amended.
- To make sure it can be recovered.
- To prevent unauthorised access.
Note Count the things in the question. A question that names two things is telling you where its marks are: both its data and its computer system, two threats, one similarity and one difference. Give exactly that many, one of each.
Practise this: past-paper questions
6.1 · 3 of 20Book pages Contents
Malware: viruses and spyware
Every threat in this part is somebody getting at data that is not theirs. Malware is the family name for the software they use to do it.
Malware is malicious software, downloaded or installed without the user’s knowledge. The second half of that sentence is on the mark scheme of nearly every malware question. The syllabus names two kinds of malware that you must be able to describe: a virus and spyware.
A virus is a malicious program that copies itself (replicates), and it deletes or alters the files and data stored on the computer. Two things carry that sentence: replicates and deletes or alters. One without the other is half a definition, which on a one-mark question scores nothing.
Mark scheme wording: a virus (1 mark)
- Malicious program or software that replicates (copies) itself and deletes or alters files or data stored on a computer.
Spyware is malware that is downloaded without the user’s knowledge. It secretly records what the user does, such as the keys they press, and sends a log of it to a third party.
Worked example
A student signs in to cswithzain.com on the family laptop. A program he never installed has been running behind the window since March. Describe the threat: spyware. [2]
- Step 1Two marks means two separate things on the page.
- Step 2Mark 1, how it got there and what it does: spyware is malware that was downloaded onto the laptop without his knowledge, and it secretly records the keys he presses.
- Step 3Mark 2, the half students leave out, where the recording goes: it sends a log of those keystrokes to a third party. That is how his cswithzain.com password stops being only his.
Mark scheme wording: spyware (any two, max 2)
- Malware downloaded without the user’s knowledge...
- ...which secretly records the user’s actions or keystrokes on the computer...
- ...and sends logs of the actions to a third party.
When a question only says identify a threat, one word is the whole mark. Describing what nobody asked you to describe earns nothing.
Practise this: past-paper questions
- June 2021 · Paper 12 · Q8(c)The company is also concerned about threats posed by networks and the internet. Identify two threats to the data that are posed by networks and…
- November 2023 · Paper 12 · Q5(c)Describe the following threats to a computer system. Phishing email ... Spyware
- November 2025 · Paper 11 · Q8(a)Viruses and pharming are examples of malware. Explain what is meant by a virus and pharming
- June 2026 · Paper 12 · Q2(c)(i)A virus is a threat to data. Complete the table by describing what is meant by a virus. Identify and describe one method to restrict the risk…
Used later in
6.1 · 4 of 20Book pages Contents
Comparing a virus and spyware
Cambridge asks about these two together, and asks for the comparison itself: "Give two similarities and one difference between spyware and a virus", three marks, two of them for similarities. If you copy out the two descriptions one under the other, you have written no comparison at all. The difference mark needs one sentence with both halves in it.
| A virus | Spyware | |
|---|---|---|
| Replication | Replicates itself: one file becomes many. | Does not replicate: one copy sits and watches. |
| What it does to the data | Damages it: deletes or alters the files. | Only records or accesses it; damages nothing. |
| Does data leave the computer? | No: it sends no data out of the computer. | Yes: the recording goes to a third party. |
Mark scheme wording: one difference (1 mark)
- A virus replicates itself; spyware does not replicate itself.
- A virus can damage computer data; spyware only records or accesses data.
- A virus does not send data out of the computer; spyware sends recorded data to a third party.
Read those as sentences, not as facts. Not one of them is a description of a virus followed by a description of spyware. Each names one thing to compare and puts both on it. Copy that shape.
Mark scheme wording: similarities (1 mark each, max 2)
- Both are pieces of malicious software.
- Both are downloaded, installed or run without the user’s knowledge.
- Both can pretend to be, or are embedded in, other legitimate software when downloaded, or both try to avoid the firewall.
- Both run in the background.
Worked example
The building-management PC at Bahria Icon Tower (in Clifton, Karachi) caught both in one term: in March maintenance records vanished, and in May the guards’ door codes turned up somewhere else. Give two similarities and one difference between spyware and a virus. [3]
- Step 1Similarity 1: both are installed without the user’s knowledge.
- Step 2Similarity 2: both run in the background. Write these as two separate sentences. Two mark points joined into one clause give the examiner only one place to tick.
- Step 3The difference, as one sentence with a semicolon and both halves: a virus replicates itself; spyware does not replicate itself. Any row of the table above works the same way, for example: a virus damages the data; spyware only records it.
- Step 4Three sentences, three marks.
Note A contrast question wants one sentence carrying both halves, not two descriptions side by side.
Practise this: past-paper questions
Used later in
6.1 · 5 of 20Book page Contents
Hacking
Builds on
Hacking is the one threat here that is not software at all. It is a person. Nothing is downloaded, nothing replicates, nothing runs in the background. Somebody simply gets in.
Mark scheme wording: hacking
- Gaining unauthorised access to a computer network or device.
- Also accepted: unauthorised access to the computer with malicious intent.
That is the whole definition, and the word unauthorised is carrying the mark. Where the question names the data, the description mark is also given for "illegal access in order to delete or damage" the records the question names.
Worked example
NADRA’s identity records are on a system that can be reached over a network. Identify one threat to the records and describe it. [2]
- Step 1Mark 1, the threat: hacking. One word; do not spend a sentence on it.
- Step 2Mark 2, the description: unauthorised access to the system over the network, with malicious intent, and what the hacker can then do to the records, such as delete or change them.
Note The name of the threat is "hacking" (also accepted: "hacker" or "unauthorised access"). "Unauthorised access" is accepted as the name and as the description, but not as both at once in one two-mark answer.
A hacker is not a virus, and the exam knows it. Malware runs; a hacker decides. Cambridge has printed "Viruses and pharming are examples of malware": pharming belongs to the malware family, and hacking never does. So if a question asks how to stop a hacker getting in, anti-virus software is not the answer. The preventions that go with hacking are about keeping a person out: a firewall, user permissions, authentication (any check that you are who you say you are) and biometric passwords (a fingerprint or a face).
Mark scheme wording: preventing hacking
- Authentication, or a firewall.
- Also accepted: firewall, strong or biometric passwords, user permissions.
Practise this: past-paper questions
6.1 · 6 of 20Book page Contents
Phishing and pharming
Phishing and pharming have the same target, the details that get somebody into your bank account, but they take two different routes, and the route is the answer.
Phishing is an email that pretends to be from an official body. It persuades you to disclose private information, such as bank details, often by inviting you to click a link to an unofficial website.
Pharming is, in the mark scheme’s own words, "malicious code or software installed on a computer which redirects the user to a fake website to obtain personal data". Read that again: code, on your machine, that you did not install. Pharming is malware; phishing is not. Cambridge says so in a question: "Viruses and pharming are examples of malware."
Worked example
An email carrying the K-Electric logo (Karachi’s electricity supplier) says the bill is overdue. Its link opens a page that looks like HBL’s online banking. Describe the threat: phishing email. [2]
- Step 1Mark 1, who it claims to be: the email pretends to be from an official body. It carries K-Electric’s logo and looks like a bill.
- Step 2Mark 2, what it wants from you: it persuades the customer to disclose private information such as bank details, by inviting them to click a link that redirects them to an unofficial website.
Mark scheme wording: a phishing email (any two, max 2)
- The email pretends to be from an official body...
- ...persuading individuals to disclose private information, for example bank details...
- ...or requesting authentication by redirecting to an unofficial or unauthorised website, or inviting a user to click a link.
| Phishing | Pharming | |
|---|---|---|
| What does the redirecting | An email prompts you to act: you click the link. | Code already on the machine sends you to a fake site. |
| User action needed? | Yes: phishing requires user action. | No: pharming is automatic. |
The second row follows from the first: type hbl.com yourself, spelled correctly, and the pharming code still lands you on the fake page. That is why the prevention is anti-malware for pharming and a spam filter for phishing.
Mark scheme wording: one difference and one similarity (1 mark each)
- Difference: pharming is automatic; phishing requires user action.
- Difference, also accepted: pharming is malicious code that redirects to a fake website; phishing uses an email to prompt user action.
- Similarity: both make use of fake websites.
- Similarity, also accepted: both try to obtain financial or personal information, or both are a false representation of an official organisation.
Practise this: past-paper questions
- November 2022 · Paper 11 · Q2Draw one line from each security feature to its most appropriate description. Security feature firewall pharming anti-virus software encryption…
- November 2023 · Paper 12 · Q5(c)Describe the following threats to a computer system. Phishing email ... Spyware
- November 2023 · Paper 13 · Q8(b)State one difference and one similarity between pharming and phishing. Difference Similarity
- November 2025 · Paper 11 · Q8(a)Viruses and pharming are examples of malware. Explain what is meant by a virus and pharming
6.1 · 7 of 20Book pages Contents
Threat, description and prevention
Several questions (four of them, worth eighteen marks between them) give a printed table with three columns, threat, description and prevention, and you complete a row. The marks are read across the row: 1 mark for the threat, 1 mark for the corresponding description and 1 mark for the corresponding prevention. A correct prevention under the wrong threat scores nothing.
Column 3 needs only the name of a measure, such as a firewall, anti-virus software or encryption. The measures are explained in the sections that follow.
This example is the Imtiaz loyalty database (Imtiaz is a Karachi supermarket chain). Read each row across:
| Threat | Description | Prevention |
|---|---|---|
| Virus | Replicates itself and deletes the loyalty records | Install and run anti-virus software |
| Spyware | Records the keystrokes typed at the till and sends them to a third party | Anti-spyware, or an on-screen keyboard |
Row one: it replicates, so it is a virus, and anti-virus software is what you run against one. Row two records and sends, so it is spyware, and its prevention does not have to be another "anti-" program: an on-screen keyboard takes the keystrokes away. Each cell is the reason for the one beside it.
Now three true sentences that score only 2 out of 3:
| Threat | Description | Prevention |
|---|---|---|
| Phishing | An email pretending to be from a real company asks you to click a link | Install anti-virus |
The threat (1 mark) and the description (1 mark) are right: it really is a phishing email. The prevention scores 0: anti-virus software removes software, and column 1 names an email. Column 3 is the cell nobody re-reads.
How the marks are given
- 1 mark for the correct threat, 1 mark for the corresponding description, 1 mark for the correct method of prevention.
- Or, as another scheme prints it: 1 mark for each correct threat, matching description and prevention.
- Neither pays for three true sentences that do not answer each other.
Practise this: past-paper questions
- June 2022 · Paper 11 · Q3(b)Identify and describe two threats to the data. Identify one security measure to protect against each threat. Each security measure must be…
- June 2022 · Paper 12 · Q4(b)Complete the table by identifying two security threats to the data on a computer. Describe each threat. Give a different prevention method for…
- November 2025 · Paper 12 · Q5(e)Complete the table by identifying one threat to computer and data security posed by networks and the internet. Describe the threat and give a…
6.1 · 8 of 20Book pages Contents
User accounts and passwords
Every other measure is built on this one. A firewall does not know who you are; access rights do, and they only work because there is an account to attach them to.
When you sign up on cswithzain.com, the site gives you a user account: a username, which is the identity you claim, and a password, which is the evidence that the claim is yours. The username says who; the password says prove it.
Cambridge pays for neither of those descriptions. When a question asks how this measure protects the system, it pays for the effect, and the effect has two halves worth writing even for one mark: who gets in, and what that stops.
- Name what is protected: the resource, the file, the system.
- Say who reaches it: only the user with the correct password. The word only does the work. Without it, the sentence says passwords let people in, which is true of no security measure.
- Say what that stops: it prevents unauthorised access.
Worked example
State how passwords protect a system. [1]
- Step 1What a class often writes: "A password keeps the data safe." This just renames the measure and says nothing about it. Nothing on the mark scheme matches, so nothing is paid.
- Step 2The resource: a student’s results page on cswithzain.com.
- Step 3Who reaches it: only a student who enters the correct password can open it.
- Step 4What that stops: so anyone else is prevented from gaining access. Read the last two steps back as one sentence: that is the mark point, almost word for word.
Mark scheme wording: passwords
- Ensures only users with the correct password can access the resources.
- Also accepted: prevents unauthorised access.
- When you only have to name the measure: (username and) (strong) password.
Note Words in brackets on a mark scheme are accepted but not required, so writing "username and strong password" costs you nothing and is never wrong.
Practise this: past-paper questions
6.1 · 9 of 20Book page Contents
Access rights and views
Builds on
A password decides whether you are in. Access rights decide what you may touch once you are in. K-Electric (Karachi’s electricity utility) lets hundreds of staff into one customer database, and nobody gets the whole thing.
Each account is given an access right (no access, read only, or read and write) and a view, the part of the database that account is shown at all. Rights answer "what may this account do?"; views answer "what may it see?", and the mark scheme pays for them separately. Both depend on separate logins: rights cannot differ if everyone uses the same login.
| The account | Its access right | And its view |
|---|---|---|
| The complaint desk terminal | No access to the billing table | Nothing: it was never given the table |
| The billing clerk at the counter | Read only | Any customer in this district |
| The regional manager | Read and write | Every account in her own region, and not one in another |
Mark scheme wording: how access rights protect data (1 mark per point, max 3)
- Access rights give managers access to different elements of the data...
- ...by having different accounts or logins...
- ...which have different access rights, for example read only, or no access, read, write.
- Specific views can be assigned...
- ...for example, managers can only see the data for their own shop(s).
Four of these five points follow on from the one above, so one sentence naming separate logins and different rights, such as read only, collects two marks. Add the view and you have three. The view is the part students forget, and an example of a view is worth as much as the word view.
Worked example
Describe how access rights can protect the K-Electric database from unauthorised access. [3]
- Step 1Mark 1: every member of staff logs in with their own separate account, not a shared one.
- Step 2Mark 2: each account is given different access rights to different parts of the database: no access, read only, or read and write.
- Step 3Mark 3: a specific view is given to each account, so a regional manager can only see the accounts in her own region. None of the three sentences describes a password: the question asked about access rights.
Practise this: past-paper questions
6.1 · 10 of 20Book pages Contents
Firewalls
Bahria Icon Tower (in Clifton, Karachi) runs its lifts, cameras and booking portal on one network, and a firewall sits where that network meets the internet. It checks traffic in both directions, and one mark scheme gives a separate mark for the outgoing half. "Blocks incoming traffic" on its own loses that mark.
A firewall does three things, and each one is a mark:
| 1. Monitor: the transmission | 2. Check: the criterion | 3. Block or allow | |
|---|---|---|---|
| Coming in | The lift engineer in Lahore, reading a fault log | His office IP address is on the allow list, and the port he uses is one of the few left open | Allowed through. |
| Going out | A program nobody installed, sending recordings abroad | The destination is on the deny list, and no approved software sends data there | Blocked on the way out. |
Mark scheme wording: how a firewall works (1 mark each)
- It monitors incoming and outgoing packets or traffic.
- It checks them against an allow list or deny list of IP addresses.
- It blocks transmissions that do not meet the criteria or rules.
- It blocks data entering from specific ports.
- It blocks unauthorised or unknown internal software transmitting data.
The last two points come from the two rows of the table: the open port, and the outgoing program. Outgoing traffic is examined, not banned.
Mark scheme wording: how a firewall or proxy keeps stored data safe
- Filter incoming transmissions and stop any that could be attempting unauthorised access.
Practise this: past-paper questions
- November 2022 · Paper 11 · Q2Draw one line from each security feature to its most appropriate description. Security feature firewall pharming anti-virus software encryption…
- November 2022 · Paper 12 · Q6(a)(ii)Describe how a firewall protects the data on the computer
- November 2023 · Paper 13 · Q3(a)(iii)State how the following security measures can be used to protect computer systems. Firewall Encryption Passwords
- June 2024 · Paper 11 · Q5(c)(i)The bank’s network has a firewall. Explain how a firewall can help protect the customers’ data
6.1 · 11 of 20Book page Contents
Proxy servers
Builds on
A proxy server is often offered instead of a firewall, for the same three marks, but it is not one. Bahria Icon Tower’s booking portal must answer the internet, but its web server must never be reached directly from it. A proxy server makes both true: it stands in front of that server and answers in its place.
That is where the two come apart: a firewall lets the outside reach the real machine when the criteria are met; a proxy server never lets it reach the machine at all.
Mark scheme wording: how a proxy server works (1 mark each)
- It prevents devices accessing the web server directly.
- It intercepts any requests.
- It forwards the request using its own IP address.
- It screens returning data before sending it to the user.
How the marks are given: identify one measure and describe how it works [3]
- 1 mark for the measure, then 1 mark each, up to 2, for how it works.
- The name is one mark of three, so naming a proxy server and then describing a firewall scores only the name.
Practise this: past-paper questions
Used later in
6.1 · 12 of 20Book page Contents
Anti-virus, anti-spyware and anti-malware software
Three names, one description. The mark scheme spells it out: anti-spyware is marked like the anti-virus answer with the word swapped, and anti-malware is marked as anti-virus. Learn the points once and you can answer all three.
Imtiaz (the supermarket chain with the loyalty card) keeps its loyalty database on a back-office PC. The anti-virus software on it does four things, and none of them is "protects the computer":
- It scans the files on the hard drive for malicious software.
- It compares each file against a stored database of known viruses. This is the sentence the mark is on.
- It deletes or quarantines anything that matches. Quarantine means moving the file somewhere it cannot run; the mark scheme accepts either word.
- It checks a file as it downloads and stops the download continuing. This is a separate accepted answer, and the only one that stops the malware before it arrives.
Worked example
One file, one program, two machines.
- Step 1A file reaches the back-office PC. Its definition was added to the software company’s database three weeks ago, and that PC updated this morning. The scan finds the match and quarantines the file.
- Step 2The same file reaches the spare till PC at the back of the store. Same software, same scan, same settings, but nobody has switched that machine on since March, so its database is from March.
- Step 3The scan runs to the end and reports the machine clean. It did not fail and it did not skip a step: it can only find what is in its database. The software is only as new as its database, which is why "updated regularly" is part of the mark point.
Mark scheme wording: anti-virus software
- It scans the computer for viruses and checks against a stored database of viruses, which needs to be updated regularly, and then deletes or quarantines them.
- It compares downloaded files to a database of known viruses and prevents the download continuing.
- On a matching question, the one-line version: scans files on the hard drive for malicious software.
Note Where a question says identify and describe, it is 1 mark for the name and 1 for the description. Naming three kinds of software and describing none scores the naming marks only.
Practise this: past-paper questions
- November 2022 · Paper 11 · Q2Draw one line from each security feature to its most appropriate description. Security feature firewall pharming anti-virus software encryption…
- June 2023 · Paper 13 · Q6(b)Complete the table by identifying and describing two types of software that can be installed on a computer to prevent threats over a network. Type…
6.1 · 13 of 20Book page Contents
Backups and physical security
An HBL (Habib Bank) branch keeps its records on a server in a locked room at the back, and copies them every night to a machine somewhere else. That is two measures, and neither is software on the server.
Every other measure tries to stop something happening; a backup does not. It is the only measure here that assumes the bad thing has already happened and asks what you have left. So it is the right answer to one kind of question and the wrong answer to another.
| What happened | Does the nightly backup help? | Does the locked room help? |
|---|---|---|
| A hacker reads the records over the network | No. Nothing was lost: it was copied. | No. He was never in the building. |
| Malware deletes every file on the server | Yes. Restored from last night’s copy. | No. It came over the network, not through the door. |
| Someone walks out carrying the server | Yes. The machine is gone; the records are not. | Yes. This is the event a locked room exists for. |
| The disk fails on a Tuesday morning | Yes. It is not an attack at all, and the backup does not care. | No. |
Look at the two "No"s in the top row. A backup answers "keep the data secure" and "restrict the risk of losing it". It does not answer "restrict access": it is on the accepted list for the first two and missing from the third.
Mark scheme wording: backup (a measure, then its reason, 1 mark each)
- Back up or archive computer systems...
- ...so they can be restored in case of data loss.
Physical security measures are a locked server room, a key card, a guard or a cable lock. There is no software anywhere, and Cambridge accepts them. Where a question asks for a physical method, or a method "on the computer" without saying software, this is a whole answer, and the easiest to describe, because the description is just the door.
Mark scheme wording: physical security
- The measure: a physical method, or an example of one.
- The description: the computer storing the data cannot be accessed without the key to the room.
Practise this: past-paper questions
6.1 · 14 of 20Book pages Contents
Identify one other measure
Builds on
Several questions (five parts so far) give you a measure in the question and then refuse it as your answer: "identify one other measure". The question is not giving you a hint; it is crossing an answer out. Underline every measure it names, usually in the sentence before the question. If it names a category, cross off everything inside it. Cross off your own earlier answers too, because each security measure must be different, and check which column of the table you are writing in.
What half the class writes: "password". The question said the files are password-protected, so the word is in their head and goes straight back down. The measure in the question is the one that scores nothing.
| The question says | So cross off | And a safe answer is |
|---|---|---|
| cswithzain.com: "username and password ... one OTHER software measure" | Password, and username with it | A firewall, or up-to-date anti-malware |
| K-Electric: "a password ... one OTHER in transmission, one OTHER on the computer" | Password, from both rows, and your row 1 answer for row 2 | Encryption in transmission; a firewall on the computer |
| NADRA: "authentication methods ... one OTHER measure, and describe it" | A whole category: passwords, biometrics and two-factor authentication at once | A firewall or a proxy server, then two of its points |
Mark scheme wording: two other ways to keep data secure (1 mark each), less whatever the question gave you
- Install or run a firewall.
- Up-to-date anti-virus or anti-malware.
- (Username and) (strong) password.
- Encryption.
- Access rights.
Mark scheme wording: one other software-based measure to restrict access (1 mark)
- Two-factor authentication.
- Biometric passwords.
- Key card access.
- Firewall.
Note the odd one out: that second list answers a question about software-based measures and still prints key card access. Answer a software question with software.
How the marks are given: identify and describe
- 1 mark for the security measure, then 1 mark each, up to 2, for how it works.
- Or: 1 mark for the method and 1 mark for the corresponding description.
- The name is one mark of the set, never the whole set.
Practise this: past-paper questions
- June 2021 · Paper 12 · Q8(b)Each employee has a username and password to allow them to log onto a computer. An employee’s access rights to the data on the computers is set to…
- June 2022 · Paper 13 · Q5(a)(ii)One way the data stored in a computer can be kept secure is by using back-up software. Give two other ways the data stored in a computer can be…
- June 2024 · Paper 12 · Q3(a)(i)Authentication methods can help to protect the server against hackers. Identify one other security measure that helps to protect the server from…
- June 2025 · Paper 13 · Q3(b)The programmer needs to keep the program files secure on their computer and during electronic data transmission over the internet. The files are…
6.1 · 15 of 20Book pages Contents
Restricting the risks: the measure and the reason
Builds on
"Explain how" is not "state". The mark scheme for a "restrict the risk" question shows the difference in its layout: its points come in pairs, a measure, then a point under it beginning "so that" or "as these". Both halves are worth 1 mark. The second half of each pair is not an explanation of the first: it is a mark of its own. A list of measures scores half.
Worked example
Explain how the data security risks of malware on the Imtiaz checkout PCs can be restricted. [3]
- Step 1Answer A, the one a class writes: "Install anti-malware software." That is one point on the mark scheme: 1 mark.
- Step 2Answer B, the same measure with its reasons: "Install and run anti-malware software on every checkout PC, so that regular scans can be made for known malware; if any is found it is quarantined or removed; and the definitions are updated regularly." 3 marks, and it is the same measure.
- Step 3On the mark scheme, anti-malware is one measure point with three follow-on points under it. Naming it collects one of the four. Explaining it collects three.
Mark scheme wording: restricting the risks of malware (1 mark for each half)
- Install and run an anti-malware program, so that regular scans can be made for known malware, and if malware is found it can be quarantined or removed, and anti-malware definitions are regularly updated.
- Download programs from reputable websites or sources, as these are less likely to contain malware.
- Back up or archive computer systems, so they can be restored in case of data loss.
- Use a firewall to block unused ports, so that malware cannot enter.
- Deny administrator privileges to everyday users, so that malware cannot be downloaded by everyday users.
- Avoid the use of, or access to, removable devices, so that malware cannot be installed from these devices.
Naming three different measures is allowed (1 mark for each point, up to 3), so three measures can reach three marks. But it is the riskier route: two of yours may turn out to be the same point (anti-virus and anti-malware are one entry here, not two), and a bare list has nothing to fall back on. A measure with its reason attached still scores if the examiner will not accept the measure.
So write the measure, then "so that", then the thing that can no longer happen. For example (these are Zain’s words, not the mark scheme’s): "Stop staff plugging their own USB drives into the checkout PCs, so that malware cannot be carried in on one." Do that twice for a 3-mark question.
Practise this: past-paper questions
6.1 · 16 of 20Book pages Contents
Encryption
Encryption does not stop anybody taking your data; it makes what they took useless to them. A K-Electric meter (K-Electric is Karachi’s electricity supplier) has to send the reading METER 4721 down a line that anyone can tap, so it sends TLALY 1498 instead: cipher text. The tap still works; the copy says nothing.
- What it does: the data is encoded (scrambled) into cipher text.
- What it is for: so that if it is intercepted, it cannot be understood.
- Who can still read it: a key or algorithm is needed to decode it.
Encryption does not stop interception. It makes the intercepted data impossible to understand. A class often writes "so nobody can open it", "so it is safe" or "so it cannot be read". Every one of these says the data is inaccessible, when the mark is for it being unintelligible, and none of them scores.
Mark scheme wording: what encryption is and why it is used (1 mark per point, max 2)
- Data is turned into cipher text (also accepted: data is encoded).
- It is used so that it cannot be understood if intercepted without the decryption key.
Those two sentences are the two points. The first one alone, however well written, is one mark.
Here is a toy cipher (Zain’s, not Cambridge’s) so you can watch the three points happen. The key is 7: each letter moves 7 places through the alphabet, and each digit moves 7 places through 0 to 9, wrapping round at the end.
| Plaintext | M | E | T | E | R | 4 | 7 | 2 | 1 |
|---|---|---|---|---|---|---|---|---|---|
| Cipher text (+7) | T | L | A | L | Y | 1 | 4 | 9 | 8 |
| Right key (–7) | M | E | T | E | R | 4 | 7 | 2 | 1 |
| Wrong key (–6) | N | F | U | F | S | 5 | 8 | 3 | 2 |
Worked example
Encrypt the reading METER 4721 with the key 7, decrypt it, and decrypt it with the wrong key.
- Step 1Encrypt: each letter moves 7 places forward, so M becomes T, and each digit moves 7 places, so 4 becomes 1. METER 4721 becomes TLALY 1498.
- Step 2Decrypt: the billing system holds the key, shifts every character back 7 and reads METER 4721.
- Step 3Without the key: the interceptor guesses 6, one away, and gets NFUFS 5832. It is not blocked, not corrupted and there is no error message: just a clean, confident, wrong answer with nothing in it to say so. That is what it means to say the data cannot be understood without the key.
Note No exam question asks how an encryption algorithm works. The toy cipher is only here so you can see the three points. Notice that even when you know the method, TLALY 1498 still needs the key 7.
Practise this: past-paper questions
- June 2022 · Paper 12 · Q4(c)Data is encrypted when it is transmitted within the school network, or externally such as over the internet. Describe what is meant by encryption…
- November 2022 · Paper 11 · Q2Draw one line from each security feature to its most appropriate description. Security feature firewall pharming anti-virus software encryption…
- November 2023 · Paper 13 · Q3(a)(iii)State how the following security measures can be used to protect computer systems. Firewall Encryption Passwords
Used later in
6.1 · 17 of 20Book page Contents
Encryption in storage and in transmission
Encryption protects data in two settings: NADRA records crossing a network (NADRA issues Pakistan’s identity cards), and an Imtiaz loyalty database backed up to a drive. A class looking for two different answers invents the second. There is only one answer, and what changes is a single verb.
| In transmission | In storage | |
|---|---|---|
| The data | Moving between offices | Sitting still on a drive |
| How it is taken | Intercepted: tapped off the line | Obtained: the drive is stolen |
| The verb you write | If it is intercepted | If it is intercepted or obtained |
Worked example
NADRA records are sent between offices. Identify one security measure that protects them in transit, and describe how it works. [3]
- Step 1Mark 1, the measure: encryption. One word, one whole mark, and the one most often thrown away by describing the measure without ever naming it.
- Step 2Mark 2: the records are encoded into cipher text before they are sent.
- Step 3Mark 3: so if they are intercepted on the way, they cannot be understood without the key needed to decrypt them.
For a storage question, cross out "intercepted on the way" and write "obtained from the drive": the same three sentences are full marks. There is no separate storage-only method, and inventing one costs the marks the real answer was worth.
Mark scheme wording: encryption as a measure (1 mark for the measure, 1 each, max 2, for the description)
- The measure: encryption (also accepted: an example such as a VPN, but write the word encryption anyway).
- Encodes or scrambles the data...
- ...so if it is intercepted it cannot be understood.
- An algorithm or key is required to decode the data.
- Joined up, another scheme prints: data is encoded or scrambled using a key to create cipher text, which cannot be understood without being decrypted using a key.
- Where the stored thing is a file: the file contents are converted to cipher text.
Note The name and the description are paid separately, and neither pays twice.
Practise this: past-paper questions
- June 2024 · Paper 12 · Q3(a)(ii)Identify one security measure that helps to protect the data when it is being transmitted to its destination. Describe how the security measure works
- June 2024 · Paper 13 · Q7(f)(ii)Explain how encryption can protect the security of data during transmission
- November 2024 · Paper 12 · Q4(c)The file containing the final program code will be sent by email for beta testing. Identify one security method that can be used to protect the…
- June 2025 · Paper 11 · Q7(a)The banker needs to transfer confidential data across the internet. Identify and describe one method of restricting the risks posed by an…
6.1 · 18 of 20Book pages Contents
Authentication, biometrics and two-factor authentication
Authentication proves that something is what it claims to be: that the user really is who they say they are, or that the sender really is the sender. Encryption never answers that question. Three techniques do: a digital signature, biometrics and two-factor authentication.
A password is the simplest authentication check. Two-factor authentication asks for a second piece of evidence after the password, such as a code sent to your phone.
Biometric passwords use a part of the person, such as a fingerprint or a face, which cannot be handed to somebody else. Other biometrics include an iris (eye) scan and voice recognition. Because a biometric belongs to the person, it cannot be forgotten like a password and is very hard to copy or share. A biometric check can also be the second factor in two-factor authentication.
For the exam, these sentences are all you need to name and describe either measure. Both appear on the mark scheme lists of "other" security measures, and both help keep a hacker out.
Practise this: past-paper questions
6.1 · 19 of 20Book pages Contents
Digital signatures
Builds on
NADRA (Pakistan’s identity authority) emails a family registration certificate to HBL. HBL must be able to prove that NADRA sent it and that nobody altered it. A digital signature does both. Questions on it have been worth 10 marks across two papers.
The document is the line NADRA FRC 42101-1234567-8 ISSUED 2026-08-31. The six-character digests below are made up so you can watch step 7 happen; a real digest is far longer, and no mark scheme prints one.
- NADRA hashes the certificate. A hashing algorithm turns any document, however long, into a short, fixed-length value...
- ...called a digest: 14D08E.
- NADRA encrypts the digest with its own private key: 14D08E becomes 8B47F5. It no longer looks like the digest, which is the point. This encrypted digest is the digital signature.
- The certificate and the signature are both sent to HBL.
- HBL decrypts the signature with NADRA’s public key: 8B47F5 becomes 14D08E. That is NADRA’s digest, recovered by a bank that has never seen NADRA’s private key. The two keys belong together, so a published public key is the proof, not a weakness.
- HBL hashes the certificate that arrived, with the same hashing algorithm: 14D08E.
- HBL compares the two digests: the 14D08E that came out of the signature and the 14D08E it made itself.
- The two digests are the same, so the certificate is authentic.
Mark scheme wording: how a digital signature is used (1 mark each, max 5)
- The sender hashes the document...
- ...to produce a digest.
- The sender encrypts the digest to create the digital signature.
- The message and the signature are sent to the receiver.
- The receiver decrypts the signature to reproduce the digest.
- The receiver uses the same hashing algorithm on the document received to produce a second digest.
- The receiver compares this digest with the one from the digital signature.
- If both of the receiver’s digests are the same, the document is authentic.
Write all eight points in order and let the five-mark limit choose. A class loses marks here by stopping at "the digest is encrypted": that is only point 3 of 8, and every mark after it belongs to the receiver. The document is hashed twice, once by the sender and once by the receiver, and the two digests are compared.
Mark scheme wording: the two-mark version, with the keys named
- The (email) message is put through a hashing algorithm to produce a digest.
- The digest is encrypted with the sender’s private key (to create the digital signature).
- The (digital) signature can only be decrypted with the matching sender’s public key.
Some marks are just the name, written down. What a download must include to make sure a program is authentic: "Digital signature".
Practise this: past-paper questions
- November 2022 · Paper 12 · Q6(a)(i)Explain how a digital signature ensures the email is authentic
- June 2023 · Paper 13 · Q6(a)Explain how a digital signature is used to authenticate a digital document during transmission over a network
- November 2025 · Paper 12 · Q10(c)A user downloads the computer program from the internet. State what should be included as part of the download to make sure the program is authentic
6.1 · 20 of 20Book pages Contents
Authentic or unchanged: the question picks the last point
Builds on
Two papers set the digital signature chain almost word for word. Seven of the eight points are identical. The eighth is not, and it is not a variation the examiner allowed: it is a different mark, because the questions asked different things.
| Is it authentic? | Has it changed? | |
|---|---|---|
| The question asks | How a signature is used to authenticate a document during transmission | How a signature can make sure the data has not been changed during transmission |
| The eighth point | The document is authentic | The document has not changed |
Both questions are worth 5 marks, and points 1 to 7 (hash, digest, encrypt, send, decrypt, hash again, compare) use the same words in both.
Mark scheme wording: the eighth point
- Where the question says authenticate: if both of the receiver’s digests are the same, the document is authentic.
- Where it says make sure the data has not been changed: if both of the receiver’s digests are the same, the document has not changed.
Worked example
K-Electric emails a bill to a customer, and the email includes a digital signature. Explain how the digital signature can make sure the bill has not been changed during transmission. [5]
- Step 1Underline what is asked: it says has not been changed, not authentic and not who sent it. The eighth point is decided before you write the first one.
- Step 2Points 1 to 7: the same chain as before, with K-Electric as the sender and the customer as the receiver.
- Step 3Why "unchanged" can be claimed: the signed bill hashes to 7ACC08. If RS 8,430 quietly becomes RS 430, the customer’s software hashes what arrived to 4DD674 instead. The digests differ, the comparison fails, and the change is caught.
- Step 4Point 8, the one the question chose: if both digests are the same, the bill has not changed.
Note Neither mark scheme prints both endings and neither forbids both, so writing both is not a trap; writing only the wrong one is.
Practise this: past-paper questions
- June 2023 · Paper 13 · Q6(a)Explain how a digital signature is used to authenticate a digital document during transmission over a network
- June 2025 · Paper 11 · Q7(b)The banker receives confidential data across the internet. The data includes a digital signature. Explain how a digital signature can make sure…
6.1
Concepts in 6.1
Every idea explained in 6.1, and where else in the notes it is used.
Zain Merchant's notes, page by page, as printed in his book. The Notes tab has the same notes as text, with links.
Past-paper questions and mark schemes © Cambridge University Press & Assessment. Compiled for revision by Zain Merchant.
- June 2021 · Paper 12 · Q8Notes:Security, privacy and integrityMalware: viruses and spywareIdentify one other measureAuthentication, biometrics and two-factor authentication
- November 2021 · Paper 11 · Q2Notes:Comparing a virus and spyware
- November 2021 · Paper 11 · Q5Notes:Access rights and views
- June 2022 · Paper 11 · Q3Notes:Security, privacy and integrityThreat, description and prevention
- June 2022 · Paper 12 · Q4Notes:Protecting the data and the computer systemThreat, description and preventionEncryption
- June 2022 · Paper 13 · Q5Notes:Protecting the data and the computer systemBackups and physical securityIdentify one other measure
- November 2022 · Paper 11 · Q2Notes:Phishing and pharmingFirewallsAnti-virus, anti-spyware and anti-malware softwareEncryption
- November 2022 · Paper 12 · Q6Notes:FirewallsDigital signatures
- June 2023 · Paper 13 · Q6Notes:Anti-virus, anti-spyware and anti-malware softwareDigital signaturesAuthentic or unchanged: the question picks the last point
- November 2023 · Paper 12 · Q5Notes:Security, privacy and integrityMalware: viruses and spywarePhishing and pharming
- November 2023 · Paper 13 · Q3Notes:User accounts and passwordsFirewallsEncryption
- November 2023 · Paper 13 · Q8Notes:Phishing and pharmingRestricting the risks: the measure and the reason
- June 2024 · Paper 11 · Q5Notes:Firewalls
- June 2024 · Paper 12 · Q3Notes:FirewallsProxy serversIdentify one other measureEncryption in storage and in transmission
- June 2024 · Paper 13 · Q7Notes:Encryption in storage and in transmission
- November 2024 · Paper 12 · Q4Notes:Encryption in storage and in transmission
- June 2025 · Paper 11 · Q7Notes:Encryption in storage and in transmissionAuthentic or unchanged: the question picks the last point
- June 2025 · Paper 13 · Q3Notes:Identify one other measure
- November 2025 · Paper 11 · Q8Notes:Malware: viruses and spywarePhishing and pharming
- November 2025 · Paper 12 · Q5Notes:Threat, description and prevention
- November 2025 · Paper 12 · Q10Notes:Digital signatures
- June 2026 · Paper 12 · Q2Notes:Malware: viruses and spywareHackingRestricting the risks: the measure and the reason
Past-paper questions and mark schemes © Cambridge University Press & Assessment. Compiled for revision by Zain Merchant.
Try the questions first.
Write your answers, then check them against the mark scheme. Your choice is remembered on this device.