Everything from the 3 lessons of this topic on a few pages: the key idea of each lesson, the diagram to remember, the points to learn and the traps examiners set. Read it, cover it, test yourself.
Data security means protecting data from loss, damage and unauthorised access. Data privacy is about who has the right to see and use personal data, and is protected by law (data protection legislation). Data integrity means the data is accurate, complete, consistent and up to date. Security measures protect privacy and integrity, but they are not the same thing. A system needs user accounts and authentication (passwords, biometrics, digital signatures) to know who is using it, access rights to limit what each user can do, and encryption so that stolen data cannot be understood.
Do not define one term using another ("privacy means keeping data secure"). Privacy is about who has the right to see personal data; security is about protecting data; integrity is about data being correct.
A backup protects against loss of data. It does nothing to stop unauthorised access: a stolen backup is a privacy breach unless it is encrypted.
Encryption does not prevent hacking or interception. Write that it makes intercepted data unintelligible (meaningless) to anyone without the key.
A network lets threats reach a computer from anywhere. Malware is software written to cause harm: a virus copies itself into other files and can delete or corrupt data; spyware secretly records what the user does, such as key presses, and sends it to a third party. Hackers gain unauthorised access to a system. Phishing uses a genuine-looking email to lure the user to a fake website; pharming installs code or alters DNS so the user is redirected to a fake website even when the correct address is typed. Each threat is reduced by a matching measure: firewall, anti-virus, anti-spyware, passwords and access rights, and encryption.
Phishing and pharming are easy to mix up. In phishing the user has to click a link in a message; in pharming the user types the genuine address and is redirected without doing anything wrong.
Do not offer "anti-virus" or "firewall" as the answer to every threat. Match the measure to the threat, and explain how that measure stops that threat.
Validation is an automatic check, done by the computer, that data is reasonable and follows set rules: range, format, length, presence, existence and limit checks and check digits. Verification checks that data has been copied correctly: during data entry by a visual check or double entry, and during data transfer by a parity check (byte or block) or a checksum. Both protect data integrity, but neither can prove that data is actually true: a valid, correctly typed date of birth can still be the wrong person's.
ValidID that returns TRUE only if its parameter is exactly six characters: two upper-case letters followed by four digits.FUNCTION ValidID(ID : STRING) RETURNS BOOLEAN
DECLARE Valid : BOOLEAN
DECLARE Index : INTEGER
DECLARE Ch : STRING
Valid ← TRUE
IF LENGTH(ID) <> 6 THEN
Valid ← FALSE
ELSE
FOR Index ← 1 TO 6
Ch ← MID(ID, Index, 1)
IF Index <= 2 THEN
IF Ch < "A" OR Ch > "Z" THEN
Valid ← FALSE
ENDIF
ELSE
IF Ch < "0" OR Ch > "9" THEN
Valid ← FALSE
ENDIF
ENDIF
NEXT Index
ENDIF
RETURN Valid
ENDFUNCTIONValidation cannot tell you the data is correct, only that it is reasonable. A mark of 67 typed instead of 76 passes a 0 to 100 range check.
A parity check misses an even number of changed bits in the same byte, because the count stays even. And neither validation nor verification can tell if the source document itself was wrong.