Skip to main content
United StatesComputer Science PrinciplesSyllabus dot point

How do we protect personal data and stay safe online against threats like malware and phishing?

Topic 5.6 Safe Computing: personal data is collected and stored by computing systems, and safe computing uses authentication, encryption and awareness of threats such as malware and phishing to protect it.

A focused answer to AP CSP Topic 5.6, covering how personal data is collected and tracked, privacy risks, authentication and strong passwords, multi-factor authentication, encryption (symmetric and public key), and common threats such as malware and phishing, with practical safeguards.

Generated by Claude Opus 4.810 min answer

Reviewed by: AI editorial process; not yet individually human-reviewed

Have a quick question? Jump to the Q&A page

Jump to a section
  1. What this topic is asking
  2. Personal data and privacy risk
  3. Authentication
  4. Encryption
  5. Common threats
  6. Try this

What this topic is asking

The College Board (Topic 5.6) wants you to understand safe computing: how personal data is collected and stored, the privacy risks involved, and the techniques that protect data and users. You need to know about authentication (passwords, multi-factor), encryption (symmetric and public key), and common threats such as malware and phishing, plus the practical steps users and developers take to stay safe.

Personal data and privacy risk

Authentication

Encryption

Encryption is what protects data in transit (for example secure web connections) and at rest, so that intercepted data is unreadable without the key.

Common threats

  • Malware is software designed to damage or gain unauthorised access to a system (viruses, worms, ransomware, spyware). It often arrives through downloads or attachments.
  • Phishing tricks users into revealing sensitive information by impersonating a trustworthy source, such as a fake email or website.

Users defend themselves by being cautious with links and attachments, verifying senders and web addresses, using strong passwords and MFA, and keeping software updated.

Try this

Q1. What extra protection does multi-factor authentication provide over a password alone? [2 points]

  • Cue. It requires a second factor (something you have, like a phone code) in addition to the password, so a stolen password alone is not enough to log in.

Q2. State the difference between symmetric and public key encryption. [2 points]

  • Cue. Symmetric uses a single shared key for both encryption and decryption; public key uses a public key to encrypt and a separate private key to decrypt, so the private key is never shared.

Exam-style practice questions

Practice questions written in the style of College Board exam questions on this dot point, with worked answer explainers. The year tag is the paper they imitate, not the source.

AP 2022 (style)1 marksMultiple choice. Which of the following best describes public key encryption? (A) A single secret key is shared between sender and receiver to both encrypt and decrypt. (B) A public key encrypts data and a different, private key decrypts it, so the private key never needs to be shared. (C) Data is compressed so it cannot be read. (D) Passwords are stored in plain text for convenience.
Show worked answer →

The answer is (B).

Public key encryption uses a pair of keys: a freely shared public key to encrypt, and a secret private key, kept by the recipient, to decrypt. Because only the public key is shared, the private key never travels and stays secret. (A) describes symmetric encryption, which uses one shared key. (C) compression is not encryption. (D) is the opposite of safe practice.

Markers reward distinguishing public key encryption (a public/private key pair) from symmetric encryption (one shared key).

AP 2021 (style)2 marksFree response (short). Explain what phishing is and describe one way a user can protect themselves against it.
Show worked answer →

A 2-point question on a common threat and its mitigation.

Point 1 (what): Phishing is an attempt to trick a user into revealing sensitive information (passwords, financial details) by pretending to be a trustworthy source, for example a fake email or website that looks legitimate.

Point 2 (protection): A user can protect themselves by not clicking suspicious links, checking the sender and web address carefully, not entering credentials on unverified sites, and using multi-factor authentication so a stolen password alone is not enough. Any valid protection earns the second mark.

Related dot points

Sources & how we know this