GCSE · Computer Science · AQA · Spec 8525
Firewall
Data is arriving at a network's edge all the time, and leaving it too. Something has to decide what gets through. Right now, that's you.
Be the firewall
Allow or block?
You're the firewall: the network's checkpoint. Each piece of traffic below is coming in or going out. Pick one, then put it in Allow or Block using only the rule book that's switched on. Sorted all six? Switch rule books and sort the exact same traffic again.
Rule book A. (1) Let out anything a computer inside sends. (2) Let in replies to something a computer inside asked for. (3) Block any other incoming traffic.
Still to sort
Allow (0)
A rule in the rule book that's switched on lets it through.
Block (0)
The rule book that's switched on says no.
Where the line is: How the traffic 'looks' doesn't decide this. The rules do. If they say block, it's blocked.
Done both rule books? Count how many verdicts flipped, and check which direction each of those was travelling.
Why bother?
Reason it through
Why does a network need security at all?
First link · your turn
Why do we join computers into a network in the first place?
WHAT YOU'VE LEARNED
A quick recap of today's lesson.
A firewall doesn't know good from bad. It follows the rule book someone gave it.
What you need to know
- Networks exist so devices can share data. That same connection lets outsiders try to reach them.
- Someone who gets in without permission could read, steal, change or damage data. That's why networks need security.
Have a goYour mate shrugs: 'My laptop's on the school network, but nobody would bother hacking me, so security isn't my problem.' What's the flaw in that?
Being connected is what makes the laptop reachable, interesting or not.
The risk comes from the connection itself: anyone who can reach a device can try to read, steal, change or damage what's on it.
- A firewall is a network security device that monitors traffic coming in and traffic going out.
- It checks each piece of traffic against a defined set of security rules, then allows it or blocks it.
- The rules make the call, not how the traffic looks. Swap the rule book and the same traffic can get a different verdict.
- Outgoing traffic gets checked too, so a firewall can stop data leaving the network.
Have a goRule book: 'Let out web browsing only. Block all other outgoing traffic.' A music app (not a web browser) on a laptop inside tries to connect out to its server. Allow or block?
Block.
It's outgoing and it isn't web browsing. Coming from inside, or seeming harmless, doesn't matter: outgoing traffic is checked against the rules like everything else.
- Authentication checks that a user is who they claim to be, for example with a username and password.
Have a goFinish the sentence: a firewall makes decisions about ______, while authentication makes decisions about ______.
Traffic; users (people logging in).
A firewall allows or blocks traffic using its rules. Checking a person's identity is a different job, which is why the two are used together rather than one replacing the other.
- Encryption scrambles data so anyone who intercepts it can't read it without the key.
- MAC address filtering only lets devices whose hardware address is on an approved list join the network.
- No single method covers every risk. Used together, these four methods give more security.
The big picture
Networks need security because the connections that let devices share data also let outsiders try to reach them. A firewall is one method of network security: it monitors traffic coming into and going out of a network, and allows or blocks each piece using a defined set of security rules. It doesn't judge good from bad by itself, so different rules give different verdicts for the same traffic. It works alongside authentication, encryption and MAC address filtering. Each does a different job, and together they give more security than any one alone.
Key points
Worked example
Problem
A family wants their home firewall to do three things: let everyone browse the web; stop any computer outside starting a connection to their devices; and stop the children's tablet connecting to online game servers. Write a rule book for the firewall, then use it to decide what happens when a web page the tablet asked for arrives back.
⚠ Watch out
Saying a firewall only stops things getting IN. It checks traffic going out of the network too, and allows or blocks it by its rules in exactly the same way.
Memory hook
Both ways, by the book: in or out, the firewall checks the rule book, then allows or blocks.
Check yourself
Cover the page. What does a firewall check, in which two directions, and what decides each verdict? Name one job it doesn't do, and the method that does.
Flashcards
(7)What does a firewall do with each piece of network traffic?
Which directions of traffic does a firewall monitor?
One firewall allows some traffic that another firewall blocks. Why?
Why does a network need security?
Which method checks that a user is who they claim to be?
Encryption or MAC address filtering: which one makes intercepted data unreadable?
Why combine firewall, authentication, encryption and MAC address filtering?
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 AQA GCSE Computer Science topics
How this lesson was checked. This AQA GCSE Computer Science (specification 8525)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 27 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.