Find a course

Module 5: Running, Securing and Shaping the InternetLesson 11 of 1211 min

Security and Privacy

See how a network built on trust met worms, viruses and spam, how encryption and HTTPS spread after 2013, and how privacy laws like GDPR emerged.

Step 1 of 12Learn

A network built on trust

The early internet's designers were a small community of researchers who largely knew and trusted one another. Security was not a priority. Email didn't verify senders, data traveled unencrypted, and many systems had default passwords or none at all.

That changed on November 2, 1988. A Cornell graduate student, Robert Tappan Morris, released a self-copying program meant, he said, to measure the size of the internet. A bug made it copy itself far too aggressively. The Morris worm infected an estimated 6,000 computers, about 10 percent of the roughly 60,000 then connected, slowing many to a crawl. Morris became the first person convicted under the US Computer Fraud and Abuse Act. In response, the government funded the first Computer Emergency Response Team (CERT) at Carnegie Mellon University to coordinate responses to security incidents.

As millions of ordinary users came online in the 1990s and 2000s, threats multiplied:

  • Viruses and worms spread through email attachments. The ILOVEYOU worm of 2000 infected tens of millions of computers within days.
  • Spam grew to a majority of all email by the mid-2000s, until filtering improved.
  • Phishing emails imitated banks and services to steal passwords.
  • Later, ransomware encrypted victims' files and demanded payment, hitting hospitals, cities and businesses.

Step 2 of 12Diagram

The Morris worm, by the numbers

The Morris worm, by the numbersScale: Infected: about 6,000, Connected: about 60,000.010k20k30k40k50k60k6,000Infected: about 6,00060,000Connected: about60,000

Tap a shape with to see more.

Estimates from 1988.
Infected: about 6,000

Estimated machines hit.

Connected: about 60,000

The whole internet in 1988.

Step 3 of 12Practice · True or false

The Morris worm of 1988 infected roughly 10 percent of the computers then connected to the internet.

Step 4 of 12Learn

Encryption goes mainstream

Encryption scrambles data so only someone with the right key can read it. For most of history, strong encryption was the business of governments and militaries. The internet made it essential for everyone.

In 1976, researchers Whitfield Diffie and Martin Hellman published the idea of public-key cryptography, which lets two strangers establish a shared secret over an open network without meeting first. The RSA algorithm (1977) put it into practice. In the 1990s the US government tried to restrict the export of strong encryption, treating it as a weapon, but eventually relaxed the rules.

In 1995, Netscape introduced SSL, later replaced by TLS, which encrypts the connection between your browser and a website. It powers HTTPS, signaled by the padlock icon in browsers. For years, HTTPS was mainly used for logins and payments, and most web traffic traveled unencrypted.

Then, in 2013, former intelligence contractor Edward Snowden leaked documents showing that intelligence agencies were collecting vast amounts of internet communications. The revelations pushed technology companies to encrypt much more. The nonprofit Let's Encrypt, launched in 2015, began issuing free security certificates, removing a cost barrier. Today the large majority of pages loaded in major browsers use HTTPS, and messaging apps commonly offer end-to-end encryption, where even the service provider cannot read the messages.

Step 5 of 12Timeline

Security and privacy milestones

  1. 1976
    Public-key cryptography

    Diffie and Hellman publish the idea.

  2. 1988
    Morris worm

    First major internet worm; CERT is created.

  3. 1994
    Cookies and SSL

    Shopping carts get memory; Netscape adds encryption to the web.

  4. 2000
    ILOVEYOU

    An email worm hits tens of millions of computers.

  5. 2010s
    HTTPS everywhere

    Encryption becomes the default for most web traffic.

Step 6 of 12Practice · Put in order

Put these security and privacy milestones in chronological order, earliest first.

Drag the items, or use the arrow buttons, to put them in order.

  1. Snowden's leaks reveal mass surveillance programs
  2. The EU's GDPR privacy law takes effect
  3. Public-key cryptography is published by Diffie and Hellman
  4. Netscape introduces SSL for secure web connections
  5. The Morris worm spreads across the internet

Step 7 of 12Learn

Privacy in the data economy

Security is about keeping attackers out; privacy is about who may collect and use information about you, including the companies whose services you use willingly.

As the web grew, so did tracking. Cookies, small files that websites store in your browser, were invented in 1994 to remember things like shopping carts. Advertising networks soon used third-party cookies to follow people across many sites and build detailed profiles. Smartphones added location data, contacts and app activity. Data brokers bought and sold this information.

Laws arrived slowly. The European Union's General Data Protection Regulation (GDPR), in force since May 25, 2018, became the global benchmark. It requires a legal basis such as consent for processing personal data, gives people rights to access and delete their data, and allows fines of up to 4 percent of a company's global annual revenue. That is why websites everywhere began showing consent banners. California, Brazil, India, China and many other jurisdictions have since passed their own data protection laws.

Major browsers have moved to block or phase out third-party tracking cookies, and phone operating systems now ask permission before apps track users across other companies' apps.

The trade-off remains: free services funded by targeted advertising versus control over personal information.

Step 8 of 12Note

Step 9 of 12Practice · Diagram

The padlock trick in an HTTPS connection

Which key must stay secret?

Tap the shape that answers the question, then press Check.

The padlock trick in an HTTPS connectionProcess diagram: Site shares a padlock → Browser locks a secret → Only the site can open it → Shared secret.Site shares apadlockBrowserlocks asecretOnly the sitecan open itSharedsecret
Site shares a padlock

Its public key, which anyone may have.

Browser locks a secret

It encrypts a fresh secret with that public key.

Only the site can open it

It uses its private key, which never leaves the server.

Shared secret

Both sides now encrypt the session with it.

Step 10 of 12Note

Step 11 of 12Practice · Sort into groups

Sort each item into security or privacy.

Tap an item, then tap its group (or drag it there).

Step 12 of 12Practice · Choose one

What does HTTPS provide when you visit a website?