The help desk that let the burglar in
A help desk app knows a lot. It knows which customers have old computers. It may hold notes such as "the office alarm code is on the wall".
If a stranger got into that app, they would know exactly where to attack. So the proposal must say what could go wrong, and what the app does to stop it.
Key words
| Word | What it means |
|---|---|
| Risk | Something that could go wrong and cause harm. |
| Mitigation | An action that makes a risk less likely or less harmful. |
| Database | An organised store of data, such as every ticket. |
| SQL injection | Typing database code into a form to trick the app. |
| Cross-site scripting | Sneaking a script into a page so it runs in other people's browsers. |
| Encryption | Scrambling data so only the right person can read it. |
| Copyright | The right of a maker to control copies of their work. |
| UK GDPR | The UK law on how personal data (facts about a person) is used. |
The cells students fill in are left blank in this preview.
By the end of this lesson
Note
I can explain how the Netheret app will reduce its main risks and meet the law.
Starter: last lesson
Have a go
Starter: last lesson
3 questionsEach security risk needs a named fix
For each risk, say three things. What could happen. How likely and how harmful it is. And the mitigation: what the app does about it.
Name a real technique, not a hope. "The app will be secure" is a hope. "Every database query (a request for data) uses parameters (placeholders for typed values), so typed code is treated as text" is a mitigation.
Worked example: security risks and mitigations
| Risk | What could happen | Mitigation in the app |
|---|---|---|
| SQL injection | A form is used to read or delete every ticket | All queries go through SQLAlchemy with parameters, never by joining text |
| Cross-site scripting | A comment carries a script that steals staff sessions | Jinja escapes every value it shows. Input is checked. |
| Data read on the way | Someone on café wifi reads a password | The live site uses HTTPS, so traffic is encrypted |
| Stolen passwords | A leaked database shows every password | Only a hash is stored, made with Werkzeug |
| Wrong person sees data | A customer guesses another company's request address | Every page checks the role and the company |
| Forged form posts | A trick page makes a manager's browser close tickets | Each form carries a secret token the server checks |
The cells students fill in are left blank in this preview.
Check: security risks
Have a go
Check: security risks
3 questionsMatch each risk to its mitigation
Have a go
Loading…
Your answers are marked here and are not kept. A college account keeps every student’s marks.
Wider issues are about people, not only code
Some risks are about how the app is used. Netheret holds details of its customers' systems. That is sensitive.
A wrong fix in the knowledge base wastes time or breaks something. Articles need an author, a date and a "did this help?" count.
Updates must suit the reader. Customers see plain words; internal notes stay hidden from them. Users make mistakes, so every form explains an error next to the box.
Worked example: wider issues and responses
| Issue | How the design responds |
|---|---|
| Sensitive customer details | Only staff see system notes. Never store a customer's passwords in the app. |
| Wrong or old fixes | Each article shows its author and last update. Readers mark it helpful or not. |
| Messages at the wrong level | Each update is marked internal or visible to the customer. |
| User errors on forms | Clear messages beside the box, and the typed text is kept. |
| Code made by others | Use only Flask and its own parts. Credit any outside code and AI code. |
The cells students fill in are left blank in this preview.
Check: wider issues
Have a go
Check: wider issues
3 questionsLink each law to the design
The proposal must show how the app follows the law and good guidelines. A list of law names is not enough.
For each one, say what it means for Netheret, then what the design does. For example, UK GDPR says keep only the personal data you need. So the app asks a customer for a name, email and company, and nothing more.
Worked example: laws and guidelines
| Law or guideline | What it means here | What the design does |
|---|---|---|
| UK GDPR and the Data Protection Act 2018 | Personal data is kept safe, to a minimum, and people are told how it is used | A privacy page, few fields, hashed passwords, roles |
| Computer Misuse Act 1990 | Getting into a system without permission is a crime | Sign-in on every page, and a log of who changed a request |
| Equality Act 2010 | Services should not shut out disabled people | Larger text, high contrast, keyboard use, labels |
| WCAG 2.2 (a W3C guideline) | A checklist for web pages that everyone can use | Aim for level AA on every page |
| Copyright, Designs and Patents Act 1988 | Code and text belong to whoever made them | Credit outside code and AI code, and check each licence (the terms of use) |
| BCS Code of Conduct | A professional body's rules for IT work | Work in the public interest, and be honest about what the app can do |
The cells students fill in are left blank in this preview.
A common mistake
Warning
Many students think naming a law is enough: "The app will follow GDPR." It earns little. Say what the law asks, then point to the feature that meets it, such as the privacy page or the roles. A reader should see the link from the law to the design.
Your turn: risks and law
Part 1. Make a risk table for the Netheret app with six risks. Give each: what could happen, how likely (low, medium, high), how harmful (low, medium, high), and a named mitigation. Include at least four security risks and two wider issues. Part 2. Make a table of at least four laws or guidelines. For each, say what it means for Netheret and which feature of your design meets it. Part 3. Write one paragraph for the client, in plain words, on how their customers' data is kept safe.
A teacher marks this in a college. Nothing you write here is kept: it goes when you leave the page.
Make a free account to save your work, or press Start lab to work through the whole lesson.
Exit quiz
Have a go