Protection of Data

How biometrics, encryption, firewalls and two-factor authentication help keep personal data safe.

Key words (14)

biometrics, authentication, digital certificates, SSL, encryption, decryption, ciphertext, firewall, two-factor authentication, one time passcode, physical token, digital token, user id, passwords

Lesson Objectives

Different ways to protect our personal data

Biometrics use the body parts of a person to authenticate their rights to access data.
Biometrics use the body parts of a person to authenticate their rights to access data.

Methods we can use to protect data include:

  • Biometrics
  • Digital certificates
  • Secure Socket Layer (SSL)
  • Encryption
  • Firewalls
  • Two-factor authentication
  • User-ids and Passwords
Biometrics use the body parts of a person to authenticate their rights to access data.
Biometrics use the body parts of a person to authenticate their rights to access data.

1. Biometrics

Biometrics use your body parts as a password.
Biometrics use your body parts as a password.

Biometric scans use body parts to verify that a person has the right to access data:

Proving that a person has the right of access is known as ‘authentication’.

Examples of biometrics:

  • Fingerprints - these are impressions embedded at the end of human fingers and thumbs.
  • Eye recognition - eye scans analyse the iris, which is the coloured ring that surrounds the pupil. They can also scan and analyse the retina, which is the pattern at the back of the eye.
  • Face recognition - this is where the shapes of individuals’ faces are analysed.

An example of using biometrics to protect data

To access data stored in a computer system, a user needs to prove they are authorised:

  • Biometric security protecting the system authorises users by scanning their thumbprint.
  • If their thumbprint matched the authorised thumbprint, the user would be given access.
  • If the thumbprint did not match, they would be denied access.

With biometric authorisation, the user’s body parts replace a user-id and password:

Biometrics have an advantage over passwords as body parts cannot be forgotten.

A biometric is a body part that can be used to identify a person uniquely.
A biometric is a body part that can be used to identify a person uniquely.

Advantages of using biometric authentication

Advantages of using biometric authentication methods (body parts) instead of traditional user-ids and passwords:

  • Passwords can be forgotten. You cannot forget your eyes or fingers.
  • It is very difficult to forge body parts as everyone has slightly different eyes, faces and fingerprints.
  • It is also possible to write a password down and leave it somewhere for someone to find and use. This cannot happen with body parts as they are with you always.
Most smartphones use fingerprints to authenticate the identity of the user.
Most smartphones use fingerprints to authenticate the identity of the user.
Biometrics use your body parts as a password.
Biometrics use your body parts as a password.

2. Digital certificates

Digital certificates prove that emails are from trusted sources.
Digital certificates prove that emails are from trusted sources.

A digital certificate can be attached to emails and other electronic documents to prove they are authentic.

The purpose of a digital certificate is to prove who the owner is, so that other people can trust them. A trusted organisation called a certificate authority (CA) issues the certificate.

A digital certificate consists of the following:

  • Name (or company name) of the sender.
  • A serial number.
  • Certificate issue and expiry dates.
  • The public key of the owner, which other people use to send the owner encrypted data.
  • The name of the certificate authority.
  • The digital signature of the certificate authority, which shows that the certificate is genuine.

When the recipient of the email opens it, they can view the digital certificate to make sure that it has come from a trusted source.

Diagram of a digital certificate. It lists the name of the owner, a serial number, the issue and expiry dates, a public key, the certificate authority that issued it, and the digital signature of that authority.
Digital certificates prove that emails are from trusted sources.
Digital certificates prove that emails are from trusted sources.

3. Secure Socket Layer (SSL)

Websites secured with SSL encrypt data that is sent between the user’s computer and the website.
Websites secured with SSL encrypt data that is sent between the user’s computer and the website.

SSL is used on websites where we enter bank or credit card details in order to make online purchases or enter passwords:

Buying products over the internet is known as e-commerce. Examples of e-commerce websites include Amazon and eBay.

SSL encrypts the connection between your computer (the client) and the website’s server, and ensures all transactions are encrypted and secure:

Modern websites use a newer, more secure version of SSL called TLS (Transport Layer Security). The name SSL is still widely used for both.

This stops your bank/credit card details being used by hackers if they manage to steal this information.

How can you tell if a website uses SSL?

You can tell if a website is protected by SSL by looking at its URL (web address).

The web address should start with https:// and there should be an icon of a padlock on the site information:

You should never make online purchases on websites that start with only http:// (without the s).

These sites are not encrypted with SSL and your bank/credit card details will be at risk of being stolen and used.

Secure Socket Layer - images

Websites that are not secured by SSL start with http://
Websites that are not secured by SSL start with http://
Websites that are secured by SSL start with https://
Websites that are secured by SSL start with https://
Websites secured with SSL encrypt data that is sent between the user’s computer and the website.
Websites secured with SSL encrypt data that is sent between the user’s computer and the website.

4. Encryption

Encryption locks data and stops it from being read by unauthorised people.
Encryption locks data and stops it from being read by unauthorised people.

Encryption works by scrambling data into garbled code using an encryption key. Only authorised people who have the decryption key can unscramble the data and read it.

Why should you encrypt data?

Whenever you use a computer that is connected to the internet, you are potentially vulnerable to hackers.

Hackers try to break into computers to steal personal data, such as social security numbers, bank or credit card details and passwords. They use this data to commit identity fraud or to steal your money.

Passwords and biometrics help to stop unauthorised people from using a computer system or a network. If these fail and a hacker breaks in, encryption is another layer of defence for any personal data stored on the computer or network:

  • Encryption scrambles original data into garbled code called ciphertext.
  • Even if encrypted data (ciphertext) is stolen, it cannot be understood by an unauthorised person.
Encryption turns data into scrambled and unreadable nonsense. This is known as ‘ciphertext’.
Encryption turns data into scrambled and unreadable nonsense. This is known as ‘ciphertext’.

What should you encrypt?

You should encrypt data such as:

  • Files containing bank account or credit card data.
  • Online banking, online payments and buying items on the internet using a credit or bank card.
  • Confidential data (for example, medical records).
  • Emails or messages you wish to remain private.
  • Any data that could be used to commit identity fraud (for example, social security numbers and insurance numbers).
  • Files that contain your passwords.

Encryption can protect data in several places:

  • Hard discs - if a laptop is lost or stolen, nobody can read the files on its encrypted hard disc.
  • Email - an encrypted email cannot be read if it is intercepted.
  • The cloud - data stored online is encrypted, so it is unreadable if the cloud account is hacked.
  • HTTPS websites - the data sent between your computer and the website is encrypted.

An example of encryption

Jeroen wants to send a personal message to Sam, and only Sam should be able to read it. This uses one shared key: the same key encrypts and decrypts the message. The table below explains how the encryption process works.

What happensPicture

Jeroen first needs to create an encryption key. The key is in the form of a very long and random number.

Step 1. Jeroen creates an encryption key, which is a long random number.

Jeroen gives Sam a copy of the key. The copy must be shared securely so that no one else can obtain it.

Step 2. Jeroen gives Sam a copy of the key. They share it securely so nobody else can get it.

Jeroen uses encryption software and the key to encrypt (lock) the personal message. The message becomes scrambled nonsense called ciphertext.

Step 3. Jeroen uses the key to encrypt the message

Jeroen sends the ciphertext to Sam over the internet. No one can read the message without the key. Even if a hacker intercepts it, all they will see is the scrambled nonsense.

Step 4. Jeroen sends the ciphertext to Sam over the internet. A hacker who intercepts it sees only nonsense.

Sam uses her copy of the same key as the decryption key to decrypt (unlock) the message.

Step 5. Sam uses her copy of the same key to decrypt the ciphertext back into the message.

Sam can now read the original message sent by Jeroen.

Step 6. Sam can now read the original message from Jeroen.

Encryption - images

The same key is used to encrypt (lock) and decrypt (unlock) the data.
The same key is used to encrypt (lock) and decrypt (unlock) the data.
Encryption can effectively lock your personal data.
Encryption can effectively lock your personal data.
Medical records can be encrypted.
Medical records can be encrypted.
Email messages can be encrypted.
Email messages can be encrypted.
In fact, you can encrypt any type of computer data.
In fact, you can encrypt any type of computer data.
Encryption locks data and stops it from being read by unauthorised people.
Encryption locks data and stops it from being read by unauthorised people.

5. Firewalls

A firewall protects your device from potential threats on the internet.
A firewall protects your device from potential threats on the internet.

Firewalls monitor data being sent/received by the computer to/from the internet:

  • If we are trying to access unauthorised websites, the firewall will block this.
  • If received data breaks firewall security rules, it will be blocked from entering the system.
  • Firewalls also block software from running on the system without the user’s permission.

Essentially, firewalls act as a shield between a computer and the internet:

  • They can protect our data from hackers and other internet threats.

General uses of a Firewall

Firewalls can carry out these functions:

  • They can be programmed to prevent access to websites that are known to be security risks:
    • File sharing sites, illegal streaming sites etc.
  • Firewalls can be configured to prevent the use of prohibited key words in web searches:
    • For example - a school may block the search terms ‘games’ or ‘music’ etc.
  • They can block suspicious data from the internet, which helps to stop malware being downloaded.
  • They can also prevent hackers from accessing your system.
Firewalls can block anything that is deemed a potential risk to the computer.
Firewalls can block anything that is deemed a potential risk to the computer.
A firewall protects your device from potential threats on the internet.
A firewall protects your device from potential threats on the internet.

6. Two-Factor Authentication

Two-factor authentication protects your data with a 2nd layer of security.
Two-factor authentication protects your data with a 2nd layer of security.

Two-factor authentication is a second layer of security on top of usernames and passwords or biometric methods.

Common two-factor authentication methods:

  • Username/password + one time code sent to a mobile phone.
  • Username/password + physical token.
  • Username/password + digital token.

Users need both the correct password and a valid code provided by two-factor authentication before they can get access.

Two-Factor Authentication (one time passcode)

A One Time Passcode (OTP) is a temporary code that is used for authentication:

  • OTP only works for one login session and will typically expire after a short period of time.

A user can apply this form of two-factor authentication to their online accounts by registering their mobile phone number:

When a user logs into their account using a password, an OTP is sent to their registered phone. Only the owner of the phone receives the OTP.

They then enter the passcode into the site as a supplement to the password.

One time passcodes (OTP) are sent to the registered phone of the user.
One time passcodes (OTP) are sent to the registered phone of the user.

Two-Factor Authentication (physical tokens)

Many systems use two-factor authentication methods to check identity. This is where there are two layers to the authentication process:

They then also ask for an additional secret passcode as a second layer of security.

A physical token can be used as part of this:

The token is a physical device that generates a one-time passcode that is required to access the account.

Even if someone knows your login details, they also need your physical token to access the account.

Physical tokens provide a secret passcode to give an extra layer of system security.
Physical tokens provide a secret passcode to give an extra layer of system security.

Two-Factor Authentication (digital tokens)

Electronic tokens serve the same purpose as physical tokens:

  • They provide a secret code as part of two-factor authentication in networks or systems such as banks or e-commerce websites.
  • The code is used alongside another form of authorisation such as a biometric or password to give an extra layer of security.
  • Codes generated by electronic tokens are sent to your mobile phone rather than onto a separate physical device.
Google Authenticator is an example of an Electronic Token.
Google Authenticator is an example of an Electronic Token.
Two-factor authentication protects your data with a 2nd layer of security.
Two-factor authentication protects your data with a 2nd layer of security.

7. User id and Passwords

A valid username and password is required to log onto a computer.
A valid username and password is required to log onto a computer.

User ids and passwords are used to make sure that only authorised people have access to a computer or a network:

  • User id - identifies which part of the network and which resources the user has permission to access.
  • Password - proves that the user has the right to access the computer.

A password is kind of like having the correct key to open a locked door:

If a person doesn’t have a valid password, they won’t be able to log onto a computer.

User ids and passwords make data more secure when they are used well:

  • Each user has their own user id, so the system knows who is using it and what they are allowed to see.
  • Use a strong password, with letters, numbers and symbols, and keep it secret.
  • Change your password regularly and use a different password for each account.
  • If data is protected by a password, a hacker cannot read it without guessing the password.
A valid username and password is required to log onto a computer.
A valid username and password is required to log onto a computer.

End of the topic

You've completed the topic: lesson 5 of 5 published in this unit, and already 100% of the way through. Keep it up!

100%

When you are ready, click the Next button below to move on to Audience Appreciation.