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. Notice the direction tag on each one: does it decide anything?
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. Then tap a device: can any of them reach the internet without crossing it?
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, like personal details and payment information, which could be stolen, lost or misused if unprotected.
- Security protects data, devices and users from threats such as malware and unauthorised access.
Have a goYour cousin says: 'Our home network is just cat videos. Nothing worth protecting.' Then they buy concert tickets online. What has just crossed their network?
Payment information, which is sensitive data.
The moment payment details or personal details travel across a network, there is something that could be stolen, lost or misused. Cat videos or not.
- A firewall is a system that filters network traffic to protect against unauthorised flows of data in or out.
- Think of it as a barrier between a network and the internet.
- It filters both incoming and outgoing traffic, based on security rules.
Have a goAn app on a school laptop starts uploading files to the internet. Incoming or outgoing? And does the firewall get a say?
Outgoing, and yes: it is checked against the rules.
The files are leaving the network, and a firewall filters outgoing traffic as well as incoming, so the rules decide whether it goes.
- For example, a firewall might block access to a suspicious website.
- Or it might stop unauthorised apps from sending data out of the network.
- Attempts at unauthorised access get blocked as well.
- Continuous network monitoring tools, which detect unusual activity, can be used alongside a firewall.
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.
- Methods like firewalls help reduce the risk of attacks and keep the network secure. Reduce, not 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 30 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.