GCSE · Computer Science · Edexcel · Spec 1CP2
Firewalls
Picture a bouncer who checks who's coming in AND what's being carried out. That's a firewall, and in a minute you get to be one.
Computer Science · Network security
Be the firewall
This network's rules: (1) block requests to suspicious websites; (2) block unauthorised apps from sending data out of the network; (3) block unauthorised attempts to get in from the internet; (4) let through anything the first three rules don't stop. Pick a flow of traffic, then choose where it goes.
Still to sort
Allow (0)
None of the blocking rules stops it.
Where the line is: Allowed doesn't mean ignored. The firewall still checked the traffic against its rules, and the rules let it through.
Block (0)
It breaks one of the security rules.
Where the line is: A flow is blocked because it breaks a rule. It makes no difference whether it is coming in or going out.
Rules on the board, traffic in the tray. You decide what gets through.
Why bother?
Reason it through
Why does a network need security at all?
First link · your turn
What is travelling around a network all day?
Computer Science · Structure
Where the firewall sits
Tap the firewall to see what it does with traffic.
Tap any part of the diagram to see what it does.
WHAT YOU'VE LEARNED
A quick recap of today's lesson.
the network's gatekeeper
What you need to know
- Networks carry sensitive data, such as personal details and payment information, which could be stolen, lost or misused if unprotected.
- Network security protects data, devices and users from threats such as malware and unauthorised access.
- A firewall is a system that filters network traffic to protect against unauthorised flows of data in or out.
- It acts as a barrier between a network and the internet.
- It filters incoming and outgoing traffic, based on security rules.
Have a goYour mate Sam says: 'A firewall only checks what's coming IN. What leaves is the network's own business.' Sam sounds very sure. What has Sam missed?
A firewall filters outgoing traffic too, not just incoming.
It sits between the network and the internet and checks traffic in both directions against its security rules.
- For example, a firewall might block access to a suspicious website.
- Or it might stop unauthorised apps from sending data out of the network.
Have a goFinish this security rule so it would stop an app sending data out: 'Block any ______ app from sending ______ out of the network.'
unauthorised; data
A rule names a kind of traffic and what to do with it. This one targets unauthorised apps sending data out.
- Firewalls block unauthorised access attempts.
- They can be used alongside continuous network monitoring tools, which detect unusual activity.
Have a goTwo jobs: (a) filtering traffic against security rules, (b) detecting unusual activity. Which belongs to the firewall and which to a continuous monitoring tool?
(a) the firewall; (b) the monitoring tool.
They do different jobs, which is why they can be used alongside each other rather than one replacing the other.
- Firewalls help reduce the risk of attacks and keep the network secure, but reduce is not the same as remove.
The big picture
A firewall is a system that filters network traffic, coming in and going out, against security rules. It acts as a barrier between a network and the internet and blocks unauthorised flows of data. It helps reduce the risk of attacks. It doesn't remove that risk.
Key points
Worked example
Problem
Using the same four rules as the sort, decide what the firewall does when the school's approved email app sends a teacher's message out to a parent.
⚠ Watch out
Thinking a firewall only watches for attacks coming in. It filters outgoing traffic too, which is how it can stop an unauthorised app sending data out of the network.
Memory hook
A firewall is a two-way gatekeeper with a rulebook: it checks what comes in AND what goes out.
Check yourself
From memory: a firewall sits between a network and the internet. Which two kinds of traffic does it filter, what does it filter them against, and what is one example of traffic it might block?
Flashcards
(11)Why do networks need security?
Give two examples of sensitive data a network carries.
What could happen to sensitive data that isn't protected?
What is a firewall?
Where does a firewall sit?
Which traffic does a firewall filter?
What does a firewall filter traffic against?
Example of outgoing data a firewall might stop?
Example of access a firewall might block?
What can be used alongside a firewall to detect unusual activity?
Does a firewall make a network completely safe?
Tap any card to flip it, or use Study as deck to go through them one at a time. In the full lesson these run as a spaced-repetition deck — you rate each card Hard, Good or Easy and the tricky ones keep coming back until they stick.
Learning with Lightbulb is opening soon
You can use this lesson now. Join the waitlist and we'll let you know when the full Lightbulb experience is ready.
Keep me postedMore Edexcel GCSE Computer Science topics
How this lesson was checked. This Edexcel GCSE Computer Science (specification 1CP2)lesson was published through Lightbulb Learning's human-designed editorial process — the educational standards, accuracy rules and publication checks it must pass were authored and approved by Philip Halpin. It passed subject-specific assessment, automated educational checks and technical publication verification before going live (publication checks completed 9 October 2026). Published pages are monitored, human spot-checking is ongoing across the lesson library, and anything found wrong is corrected or withdrawn. How our lessons are made and checked. Spotted a mistake? Email hello@lightbulblearning.co and we'll review it.