CSwithZain
WhatsApp Join a class

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 dataPrivacy of data
    What it protects againstLoss: the data is destroyed, corrupted or amended.Unauthorised access: the data is seen by someone who should not see it.
    The question it answersIs 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]

    1. Step 1
      One mark needs one sentence with both halves. A difference question scores nothing for describing only one of them, even twice.
    2. Step 2
      Use the two nouns: loss against unauthorised access.
    3. Step 3
      Answer: "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.

    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 protectedWhat goes wrong without itWhat protects it
    The dataSomeone amends, deletes or takes it.Backups, access rights, encryption
    The computer systemSomeone 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]

    1. Step 1
      Answer 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.
    2. Step 2
      Answer 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.

    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]

    1. Step 1
      Two marks means two separate things on the page.
    2. Step 2
      Mark 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.
    3. Step 3
      Mark 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.

    Mark scheme wording: identify threats posed by networks and the internet (1 mark each, max 2)

    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 virusSpyware
    ReplicationReplicates itself: one file becomes many.Does not replicate: one copy sits and watches.
    What it does to the dataDamages 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]

    1. Step 1
      Similarity 1: both are installed without the user’s knowledge.
    2. Step 2
      Similarity 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.
    3. Step 3
      The 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.
    4. Step 4
      Three sentences, three marks.

    Note A contrast question wants one sentence carrying both halves, not two descriptions side by side.

    Used later in

    6.1 · 5 of 20Book page Contents

    Hacking

    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]

    1. Step 1
      Mark 1, the threat: hacking. One word; do not spend a sentence on it.
    2. Step 2
      Mark 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.

    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]

    1. Step 1
      Mark 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.
    2. Step 2
      Mark 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.
    PhishingPharming
    What does the redirectingAn 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.

    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:

    ThreatDescriptionPrevention
    VirusReplicates itself and deletes the loyalty recordsInstall and run anti-virus software
    SpywareRecords the keystrokes typed at the till and sends them to a third partyAnti-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:

    ThreatDescriptionPrevention
    PhishingAn email pretending to be from a real company asks you to click a linkInstall 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.

    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.

    1. Name what is protected: the resource, the file, the system.
    2. 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.
    3. Say what that stops: it prevents unauthorised access.

    Worked example

    State how passwords protect a system. [1]

    1. Step 1
      What 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.
    2. Step 2
      The resource: a student’s results page on cswithzain.com.
    3. Step 3
      Who reaches it: only a student who enters the correct password can open it.
    4. Step 4
      What 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.

    6.1 · 9 of 20Book page Contents

    Access rights and views

    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 accountIts access rightAnd its view
    The complaint desk terminalNo access to the billing tableNothing: it was never given the table
    The billing clerk at the counterRead onlyAny customer in this district
    The regional managerRead and writeEvery 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]

    1. Step 1
      Mark 1: every member of staff logs in with their own separate account, not a shared one.
    2. Step 2
      Mark 2: each account is given different access rights to different parts of the database: no access, read only, or read and write.
    3. Step 3
      Mark 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.

    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 transmission2. Check: the criterion3. Block or allow
    Coming inThe lift engineer in Lahore, reading a fault logHis office IP address is on the allow list, and the port he uses is one of the few left openAllowed through.
    Going outA program nobody installed, sending recordings abroadThe destination is on the deny list, and no approved software sends data thereBlocked 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

    6.1 · 11 of 20Book page Contents

    Proxy servers

    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.

    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":

    1. It scans the files on the hard drive for malicious software.
    2. It compares each file against a stored database of known viruses. This is the sentence the mark is on.
    3. It deletes or quarantines anything that matches. Quarantine means moving the file somewhere it cannot run; the mark scheme accepts either word.
    4. 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.

    1. Step 1
      A 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.
    2. Step 2
      The 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.
    3. Step 3
      The 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.

    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 happenedDoes the nightly backup help?Does the locked room help?
    A hacker reads the records over the networkNo. Nothing was lost: it was copied.No. He was never in the building.
    Malware deletes every file on the serverYes. Restored from last night’s copy.No. It came over the network, not through the door.
    Someone walks out carrying the serverYes. The machine is gone; the records are not.Yes. This is the event a locked room exists for.
    The disk fails on a Tuesday morningYes. 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.

    6.1 · 14 of 20Book pages Contents

    Identify one other measure

    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 saysSo cross offAnd a safe answer is
    cswithzain.com: "username and password ... one OTHER software measure"Password, and username with itA 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 2Encryption 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 onceA 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.

    6.1 · 15 of 20Book pages Contents

    Restricting the risks: the measure and the reason

    "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]

    1. Step 1
      Answer A, the one a class writes: "Install anti-malware software." That is one point on the mark scheme: 1 mark.
    2. Step 2
      Answer 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.
    3. Step 3
      On 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.

    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.

    PlaintextMETER4721
    Cipher text (+7)TLALY1498
    Right key (–7)METER4721
    Wrong key (–6)NFUFS5832

    Worked example

    Encrypt the reading METER 4721 with the key 7, decrypt it, and decrypt it with the wrong key.

    1. Step 1
      Encrypt: 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.
    2. Step 2
      Decrypt: the billing system holds the key, shifts every character back 7 and reads METER 4721.
    3. Step 3
      Without 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.

    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 transmissionIn storage
    The dataMoving between officesSitting still on a drive
    How it is takenIntercepted: tapped off the lineObtained: the drive is stolen
    The verb you writeIf it is interceptedIf 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]

    1. Step 1
      Mark 1, the measure: encryption. One word, one whole mark, and the one most often thrown away by describing the measure without ever naming it.
    2. Step 2
      Mark 2: the records are encoded into cipher text before they are sent.
    3. Step 3
      Mark 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.

    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.

    6.1 · 19 of 20Book pages Contents

    Digital signatures

    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.

    1. NADRA hashes the certificate. A hashing algorithm turns any document, however long, into a short, fixed-length value...
    2. ...called a digest: 14D08E.
    3. 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.
    4. The certificate and the signature are both sent to HBL.
    5. 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.
    6. HBL hashes the certificate that arrived, with the same hashing algorithm: 14D08E.
    7. HBL compares the two digests: the 14D08E that came out of the signature and the 14D08E it made itself.
    8. 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".

    6.1 · 20 of 20Book pages Contents

    Authentic or unchanged: the question picks the last point

    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 asksHow a signature is used to authenticate a document during transmissionHow a signature can make sure the data has not been changed during transmission
    The eighth pointThe document is authenticThe 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]

    1. Step 1
      Underline 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.
    2. Step 2
      Points 1 to 7: the same chain as before, with K-Electric as the sender and the customer as the receiver.
    3. Step 3
      Why "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.
    4. Step 4
      Point 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.

    6.1

    Concepts in 6.1

    Every idea explained in 6.1, and where else in the notes it is used.

    ConceptIn one lineAlso used in
    access rightsPermissions given to each account, such as no access, read only, or read and write.5.1 File management, 5.1 Security management, 6.1 Protecting the data and the computer system, 6.1 User accounts and passwords, 6.1 Identify one other measure, 8.2 What a DBMS is, 8.2 The three-level model, 8.2 Data security in a DBMS
    allow list and deny listLists of IP addresses a firewall lets through (allow) or blocks (deny).only here
    anti-malwareSoftware that scans for known malware and quarantines or removes it; marked as anti-virus.5.1 Security management, 6.1 Protecting the data and the computer system, 6.1 Phishing and pharming, 6.1 Identify one other measure, 6.1 Restricting the risks: the measure and the reason
    anti-spywareSoftware marked like anti-virus software, but finding and removing spyware.6.1 Threat, description and prevention
    anti-virus softwareScans files, compares them with a regularly updated database of known viruses, and deletes or quarantines matches.6.1 Hacking, 6.1 Threat, description and prevention, 6.1 Identify one other measure, 6.1 Restricting the risks: the measure and the reason
    authenticationChecking that something, or someone, is what it claims to be.4.1 VGA and HDMI ports, 6.1 Hacking, 6.1 Phishing and pharming, 6.1 Identify one other measure, 8.2 Data security in a DBMS
    backupA copy of the data kept elsewhere, so it can be restored in case of data loss.3.1 Why a computer needs input, output and storage, 5.1 File management, 5.1 Backup software, 6.1 Protecting the data and the computer system, 6.1 Restricting the risks: the measure and the reason, 8.2 What a DBMS is, 8.2 Data security in a DBMS
    biometricsAuthentication using part of the person, such as a fingerprint or face, which cannot be handed over.6.1 Hacking, 6.1 Identify one other measure, 8.2 Data security in a DBMS
    cipher textThe scrambled form of data after encryption.6.1 Encryption in storage and in transmission, 8.2 Data security in a DBMS
    decryptionTurning cipher text back into the original data, using the key.6.1 Encryption in storage and in transmission, 6.1 Digital signatures, 6.1 Authentic or unchanged: the question picks the last point
    digestThe short fixed-length value a hashing algorithm produces from a document.6.1 Authentic or unchanged: the question picks the last point
    digital signatureA digest of a document encrypted with the sender’s private key, proving who sent it and that it is unchanged.6.1 Authentication, biometrics and two-factor authentication, 6.1 Authentic or unchanged: the question picks the last point
    encryptionEncoding data into cipher text, so it cannot be understood if intercepted without the key.6.1 Protecting the data and the computer system, 6.1 Threat, description and prevention, 6.1 Identify one other measure, 6.1 Encryption in storage and in transmission, 6.1 Authentication, biometrics and two-factor authentication, 6.1 Digital signatures, 6.1 Authentic or unchanged: the question picks the last point, 8.2 Data security in a DBMS
    encryption keyThe value an encryption algorithm uses; it is needed to decode the cipher text.8.2 Data security in a DBMS
    firewallMonitors incoming and outgoing traffic, checks it against rules, and blocks what does not meet them.5.1 Security management, 5.1 Utility software, 6.1 Protecting the data and the computer system, 6.1 Comparing a virus and spyware, 6.1 Hacking, 6.1 Threat, description and prevention, 6.1 User accounts and passwords, 6.1 Proxy servers, 6.1 Identify one other measure, 6.1 Restricting the risks: the measure and the reason
    hackingGaining unauthorised access to a computer network or device, often with malicious intent.3.1 PROM, EPROM and EEPROM, 6.1 Malware: viruses and spyware, 6.1 Backups and physical security, 6.1 Authentication, biometrics and two-factor authentication
    hashing algorithmTurns any document, however long, into a short fixed-length digest.6.1 Authentic or unchanged: the question picks the last point
    integrity of dataMaking sure data is accurate, complete, consistent and up to date.8.1 Limitations of a file-based approach: one file, 8.1 Data dependency, 8.1 Relational databases, 8.1 Referential integrity, 8.1 Normalisation and the normal forms, 8.2 What a DBMS is, 8.2 Data integrity in a DBMS
    interceptionData being taken or copied while it is on its way between sender and receiver.6.1 Encryption in storage and in transmission
    malwareMalicious software, downloaded or installed without the user’s knowledge.5.1 Utility software, 5.1 Program libraries, 5.1 Dynamic link libraries (DLLs), 6.1 Protecting the data and the computer system, 6.1 Comparing a virus and spyware, 6.1 Hacking, 6.1 Phishing and pharming, 6.1 Threat, description and prevention, 6.1 Anti-virus, anti-spyware and anti-malware software, 6.1 Backups and physical security, 6.1 Restricting the risks: the measure and the reason
    passwordSecret evidence that a user is who they claim, so only users with it can access the resources.5.1 File management, 6.1 Malware: viruses and spyware, 6.1 Access rights and views, 6.1 Identify one other measure, 6.1 Authentication, biometrics and two-factor authentication, 8.2 Data security in a DBMS
    pharmingMalicious code on a computer that redirects the user to a fake website to obtain personal data.6.1 Malware: viruses and spyware, 6.1 Hacking
    phishingAn email pretending to be from an official body, persuading people to disclose private information.6.1 Malware: viruses and spyware, 6.1 Threat, description and prevention
    physical securityNon-software protection such as a locked server room, a key card, a guard or a cable lock.6.1 Protecting the data and the computer system
    privacy of dataMaking sure data can only be accessed by, or disclosed to, authorised people.8.1 Limitations of a file-based approach: one file, 8.1 Data dependency, 8.1 Relational databases
    proxy serverIntercepts requests and forwards them with its own IP address, so the web server is never reached directly.6.1 Identify one other measure
    quarantineMoving a suspect file somewhere it cannot run.6.1 Restricting the risks: the measure and the reason
    security of dataProtecting data against loss: being destroyed, corrupted or amended.6.1 Restricting the risks: the measure and the reason, 8.2 What a DBMS is
    spam filterSoftware that stops unwanted or suspicious emails, such as phishing emails, reaching the inbox.only here
    spywareMalware that secretly records the user’s actions or keystrokes and sends logs to a third party.6.1 Comparing a virus and spyware, 6.1 Threat, description and prevention
    two-factor authenticationAsking for a second piece of evidence after the password, such as a code sent to a phone.6.1 Identify one other measure, 8.2 Data security in a DBMS
    unauthorised accessData or a system being reached by someone who has no permission to reach it.5.1 Why a computer needs an operating system, 5.1 Security management, 6.1 Protecting the data and the computer system, 6.1 Hacking, 6.1 User accounts and passwords, 6.1 Access rights and views, 6.1 Firewalls, 8.2 Data security in a DBMS
    user accountAn identity on a system: a username (who you claim to be) and a password (the proof).5.1 Why a computer needs an operating system, 5.1 Security management, 6.1 Identify one other measure
    viewThe part of a database a particular account is allowed to see.only here
    virusMalicious software that replicates itself and deletes or alters files or data on a computer.5.1 Utility software, 5.1 Virus checker, 6.1 Comparing a virus and spyware, 6.1 Hacking, 6.1 Phishing and pharming, 6.1 Threat, description and prevention, 6.1 Anti-virus, anti-spyware and anti-malware software

    When you want more than reading

    The notes are the front door. The class is where it clicks.

    Join a class →Ask on WhatsApp