CYB / SYS / 01
MySQL for Teens
Databases, and why careless queries are dangerous.
Open the syllabusHong Kong · Cybersecurity · Ages 13 to 17
Plenty of teenagers are drawn to cybersecurity by films about hackers. The real field is better: it is about understanding systems so well that you can protect them, and it has firm legal lines that a young learner must know from day one. Our course is white-hat only. Students learn how attacks work in order to stop them, practise on their own machines and on legal training platforms, and never touch a system they do not have permission to test. Classes are taught live and online, one to one, in English.
Teaching since 2020 · 10,000+ students worldwide · Hong Kong teens learn one to one, live online, in English
The short answer
Modern Age Coders runs a white-hat cybersecurity course for teenagers in Hong Kong aged about 13 to 17. It is taught live online, one to one and in English, at hours that fit a Hong Kong school week. Students learn how networks, encryption, passwords and websites are attacked so that they can defend them, practising only on their own systems and legal training platforms such as capture-the-flag contests. The course goes beyond the 14 hours on internet threats in DSE ICT and explains Hong Kong's law on unauthorised access in its own words. The first class is free.
Start here
Three starting points fit most teenagers. In Hong Kong each is taught with one mentor.

CYB / 01
The main course behind this page. Online safety, networks, encryption, password storage, web security and digital forensics, always on the student's own systems, with the ethics and legal lines taught alongside.
Open the syllabus →
CYB / 02
For students who want to compete. Capture-the-flag skills on legal practice platforms: cryptography puzzles, forensics, web challenges, and writing up how each was solved.
Open the syllabus →
CYB / 03
For students who have not coded yet. Nearly every security tool and challenge needs scripting, and Python is also one of the two DSE ICT languages.
Open the syllabus →What school covers
The clearest answer is in the senior secondary ICT curriculum, which gives internet security a topic of its own. The EDB's 2026 Blueprint also asks schools to build cyber security awareness into AI literacy.
| Item | What the guide says | Where |
|---|---|---|
| Topic and time | "Threats and Security on the Internet", 14 hours | Module C, Internet and its Applications (31 hours) |
| Threats named | Virus, worm and Trojan programs, spyware, ransomware, unauthorised access, interception, denial of service | Remarks column |
| Defences named | Browser settings, anti-virus, authentication, access control, firewall, WPA, VPN | Remarks column |
| Encryption | "the relationship between the size of the key used and the degree of security" | Remarks column |
| Privacy | "The ways to maintain privacy, such as anonymity and passwords, should be stressed." | Remarks column |
| The law | "Teachers can quote some of the legal consequences related to unauthorised access to computers." | Remarks column |
Source: CDC and HKEAA, Information and Communication Technology Curriculum and Assessment Guide (Secondary 4 to 6), 2021, compulsory part, module C(d). Read on 23 November 2026. The Blueprint for Digital Education Development executive summary (EDB, 2026) asks schools to strengthen “AI literacy (including cyber security awareness and privacy protection concepts)”.
Fourteen hours is a solid introduction for students who take ICT, and the topic list is sensible. What fourteen hours cannot include is much hands-on practice: setting up a test machine, capturing traffic, breaking a weak cipher, reading a log.
Students who do not take ICT at all may meet only the awareness messages in assemblies and class talks. For DSE ICT support itself, see our HKDSE ICT tutor page.
Practice. A teenager who has stored passwords badly and watched them fall, then stored them well, understands security in a way no slide can give.
Programming, too. Most real defensive work involves scripts, so our course builds Python alongside the security, as in the lab further down this page.
The legal line
Learning how attacks work is legal and is how defenders are trained. Using that knowledge on a computer without permission is not. Hong Kong's own legislation draws the line, and we quote it rather than paraphrase. This is general information for learners, not legal advice.
| Ordinance and section | What the text says (extract) | What it means for a learner |
|---|---|---|
| Telecommunications Ordinance (Cap. 106), s. 27A, "Unauthorized access to computer by telecommunications" | "Any person who, by telecommunications, knowingly causes a computer to perform any function to obtain unauthorized access to any program or data held in a computer commits an offence"; the penalty stated is "a fine at level 4" | Getting into a program or data over a network without authorisation is itself an offence; no further aim is needed |
| Same section, subsection (2)(a) | The person's intent "need not be directed at" any particular program, data or computer | "I was only looking around" is not an exception written into the text |
| Crimes Ordinance (Cap. 200), s. 161, "Access to computer with criminal or dishonest intent" | "Any person who obtains access to a computer" with intent to commit an offence, to deceive dishonestly, for dishonest gain or to cause loss commits an offence, liable on indictment "to imprisonment for 5 years" | Access with a dishonest purpose is treated far more seriously |
Source: Telecommunications Ordinance (Cap. 106), version in force from 1 October 2024, and Crimes Ordinance (Cap. 200), version in force from 16 November 2026, taken from the Department of Justice’s e-Legislation open data on data.gov.hk and read on 23 November 2026. The third column is our plain-English reading for learners, not legal advice; the full sections contain further subsections and definitions.
Students practise only on machines they own, virtual machines we help them set up, and platforms built for legal practice. We never test, scan or probe a school network, a friend's account, a game server or a website, even "just to see".
Every new technique comes with the question: on what systems am I allowed to use this? A student who cannot answer does not use it.
The ICT guide itself suggests teachers quote "legal consequences related to unauthorised access to computers". Young people sometimes assume curiosity is a defence. The text above makes no exception for curiosity.
For a parent, this is the most important point on the page: a good cybersecurity course makes a teenager more careful, not less. If you have questions about the law in a particular situation, ask a Hong Kong lawyer.
A defender's lab
A well-run website never stores your password. It stores a hash, a scrambled fingerprint, and adds a random salt first. This lab, which we teach to students from about 14, shows why, using accounts we invented on our own machine.
# Defender's lab: why sites store salted hashes, and why length beats cleverness.
# All accounts, passwords and salts are invented by us, on our own machine.
import hashlib
def h(text):
return hashlib.sha256(text.encode()).hexdigest()
users = {"amy": "dimsum", "ben": "dimsum", "cat": "Victoria-Harbour-at-9pm"}
plain_store = {u: h(p) for u, p in users.items()}
print("unsalted: amy and ben share a hash?", plain_store["amy"] == plain_store["ben"])
salts = {"amy": "x7Q", "ben": "Lm2", "cat": "9tZ"}
salted_store = {u: h(salts[u] + p) for u, p in users.items()}
print("salted: amy and ben share a hash?", salted_store["amy"] == salted_store["ben"])
common = ["123456", "password", "dimsum", "qwerty", "iloveyou"]
lookup = {h(word): word for word in common}
cracked = [u for u, digest in plain_store.items() if digest in lookup]
print("unsalted accounts found by a 5-word list:", cracked)
cracked = [u for u, digest in salted_store.items() if digest in lookup]
print("salted accounts found by the same list:", cracked)
for name, alphabet, length in [("6 lowercase letters", 26, 6), ("8 letters and digits", 62, 8), ("4 random common words", 2000, 4), ("5 random common words", 2000, 5)]:
print(f"{name:22} -> {alphabet ** length:,} possibilities")Every user, password and salt is invented by us and exists only on the student's own machine. Nothing here touches any real system. Python 3 prints the output below exactly.
unsalted: amy and ben share a hash? True salted: amy and ben share a hash? False unsalted accounts found by a 5-word list: ['amy', 'ben'] salted accounts found by the same list: [] 6 lowercase letters -> 308,915,776 possibilities 8 letters and digits -> 218,340,105,584,896 possibilities 4 random common words -> 16,000,000,000,000 possibilities 5 random common words -> 32,000,000,000,000,000 possibilities
Without salt, amy and ben have identical hashes, and both fall to a five-word list. With salts their hashes differ and the precomputed list matches nothing. The last four lines count possibilities: eight random letters and digits beat four common words from a 2,000-word list, and five words beat both.
A salt does not make a weak password strong. Someone who steals a salted store can still try "dimsum" against each salt, one account at a time. What salting removes is the shortcut: one precomputed list for every account at once, and twins that give each other away.
That is why real systems also use deliberately slow hash functions, and why the next lesson moves on to them.
The counts link straight to the ICT guide's point about key size and security. Every extra character multiplies the work; every extra random word multiplies it by the size of the word list.
It is also the best advice a teenager can give their family: long and random beats short and clever, and a different password for every account means one leak stays one leak.
Legal practice
A CTF is a contest in which every target is built to be attacked, with permission, so it is the legal place to practise offensive skills. Hong Kong has its own, with a secondary school category.
| Item | What the site says |
|---|---|
| Organisers | The Digital Policy Office, the Hong Kong Productivity Council and HKCERT |
| Edition | "is now in its seventh edition" |
| Categories | "Secondary School, Tertiary, Open, and International" |
| Qualifying round | 6 to 7 November 2026 |
| Final round | 7 January 2027 |
| Skills named | "programming, cryptography, and digital forensics" |
Source: ctf.hkcert.org, read 23 November 2026. Entry rules and eligibility are set by the organisers; read them on the site before entering. We are not connected with HKCERT, HKPC or the DPO and promise no contest result.
Between contests, students practise on platforms built for it. The long-running picoCTF site now says "picoCTF.org is now CyLab Security Academy", which it describes as "Carnegie Mellon University's free cybersecurity learning platform".
We use legal platforms like these in class and teach students to write up each challenge: what they tried, what worked, and what a defender should change.
Contest problems reward the same habits as programming olympiads: careful reading, clean code and persistence. Students who enjoy both can look at competitive programming for Hong Kong teens.
For a wider view of teen security competitions around the world, see cybersecurity classes for teens.
Course path
Our usual order, adjusted after the free first class. Each stage has a defensive goal, and everything is practised on systems the student owns or is allowed to use.
| Stage | The student learns to | Practised on |
|---|---|---|
| 1. Safety at home | Secure accounts, devices and home Wi-Fi; spot phishing | Their own accounts and router, with a parent |
| 2. Scripting | Write Python that reads files and logs | Their own laptop |
| 3. Networks | Read traffic, ports and protocols | A virtual lab they build |
| 4. Cryptography | Hashes, salts, keys and why size matters | The lab on this page and beyond |
| 5. Web security | Find and fix common flaws in their own small app | An app they wrote |
| 6. Forensics | Reconstruct what happened from logs and files | Practice images on legal platforms |
| 7. Contest and write-up | Solve CTF challenges and explain fixes in English | Legal CTF platforms |
This path is our own plan, not an official syllabus. Students without coding start with Python for Hong Kong learners. Students preparing for IGCSE Computer Science, which also covers security, can see our IGCSE Computer Science tutor page.
Stages 1 to 3, with plenty of programming. The aim is a careful, curious student who protects their own family's devices and understands how the internet carries data.
Where an AI tool would help, we use only one offered in Hong Kong or provided by the school, follow the maker's age terms and ask a parent first; see our AI tools age guide.
The full path, ending with contest work and a written project: for example, building a small web app, attacking it themselves, then hardening it and documenting each fix.
Students heading towards computing at university can present that project as evidence of real, legal, hands-on work.
English and timing
Because security advisories, tools and contest write-ups are published in English first, and because a private mentor can watch every step a student takes.
Vulnerability reports, tool manuals and forum answers are English-first. A student who learns "salt", "hash", "firewall" and "privilege" in English reads them without a dictionary.
Mentors speak clearly and type every new term into the chat.
One to one means the mentor sees exactly what the student runs and where. That is how we keep practice inside legal lines without slowing the student down.
Lessons fit around exams and school activities.
| Hong Kong time | India time | Typical use |
|---|---|---|
| 5:00 pm, weekday | 2:30 pm | Straight after school |
| 9:00 pm, weekday | 6:30 pm | After homework |
| 2:00 pm, Saturday | 11:30 am | A longer weekend lab |
Hong Kong keeps UTC+8 and India UTC+5:30 throughout the year, so India stays two and a half hours behind. These hours are examples from our own arithmetic.
Progress
Our own stages for teen security students. They are not set or recognised by any exam board, contest or government body.
| Stage | The student can | Evidence |
|---|---|---|
| 1. Protect | Secure their own accounts and devices | A checklist completed with a parent |
| 2. Script | Automate a small task in Python | A working script with comments |
| 3. Observe | Explain what a network capture shows | An annotated capture from their lab |
| 4. Store safely | Explain hashing, salting and slow hashes | The lab on this page, extended |
| 5. Fix | Find and fix a flaw in their own app | Before-and-after code with tests |
| 6. Report | Write up a CTF challenge for a defender | A clear English write-up |
Permission first, always. No permission, no test.
A defender who can explain a fix is worth more than one who can only break things.
You see the lab setup and the platforms used before practice begins.
Monthly notes list what was learned and where it was practised.
More courses
Each runs live in English; in Hong Kong, every one is taught one to one.
CYB / SYS / 01
Databases, and why careless queries are dangerous.
Open the syllabusCYB / SYS / 02
Servers and APIs, built with security in mind.
Open the syllabusCYB / SYS / 03
The web pages every web attack starts from.
Open the syllabusCYB / PS / 01
Memory and speed, close to the machine.
Open the syllabusCYB / PS / 02
Logic and algorithms for contest puzzles.
Open the syllabusCYB / PS / 03
Timed problems, our own, clean solutions.
Open the syllabusCYB / EXAM / 01
Programming and exam practice, security included.
Open the syllabusCYB / EXAM / 02
For international-school students.
Open the syllabusCYB / EXAM / 03
The new guide, first assessed in 2027.
Open the syllabusHow classes run
Any day, any time, flexible: one to one at the hour that suits your family, weekdays or weekends. Your teenager works from home in Hong Kong; the mentor teaches from India, two and a half hours behind.
After school
Five in Hong Kong, half past two for the mentor.
Evening
Nine at night in Hong Kong is half past six in India.
Weekend
A longer Saturday session for lab work.
Every exercise starts by naming the system and the permission.
Students build a virtual lab on their own machine.
Security skills are practised through scripts.
Each weakness found ends with a fix.
Students explain their work in English.
The same mentor supervises throughout.

AI and ML
An AI nutrition coach that reads what you eat and works you toward a target.

AI and ML
A chatbot that answers mathematics and programming questions, built and deployed by a student.

AI and ML
An assistant that helps a young person recognise unsafe situations online.

Web app
A weather forecasting site with live conditions for any location.
Fees
Payment is monthly, covering only the month ahead: no deposit, no term bundle. Fees show in Hong Kong dollars, and the payment page lists the gateway charge separately before anything is paid.
Free first class
Free
no card required
One to one
$1,200 HKD
a month, eight live classes
What families say
Google reviews from students and parents, unchanged.
★★★★★
"The one step solution for my son. Modern Age Coders make learning coding so simple that kids love it. The teachers explain complex concepts clearly with practical exercises and interactive content."
Ria Mukherjee
Parent
★★★★★
"Modern Age Coders has been a game-changer for me. I struggled to grasp IT concepts and coding before joining, but their classes transformed everything. I can now confidently write complex programs with ease."
Samriddha Mondal
Student
★★★★★
"One of the most wonderful education centres out there. Education is not limited to school syllabus but focuses on skill development."
Vansh Agarwal
Student
★★★★★
"My child Dhairya is really enjoying the Modern Age Coders classes. This is his first online class and he eagerly looks forward to it. I can already see his improvement, and the teachers are very cooperative."
Sonam Oswal
Parent of Dhairya
★★★★★
"Modern Age Coders have wonderful teachers who teach in a clear, easy and practical way. The teacher boosts students' confidence and inspires them to learn without hesitation."
Sonu Goyal
Parent
★★★★★
"I highly recommend this computer coding class! The teachers are incredibly knowledgeable and passionate about coding."
Ritu Kedia
Parent
Questions from Hong Kong parents
It teaches how attacks work so that students can defend against them. All practice is on their own systems or legal training platforms. We never teach or permit testing anything without permission.
Learning is legal. Accessing a computer without authorisation is covered by Hong Kong legislation quoted on this page. This is general information, not legal advice; for a specific situation, ask a Hong Kong lawyer.
English, live over video, with a mentor based in India. We do not teach in Cantonese or Mandarin.
Yes. Every Hong Kong student is taught individually, which also lets the mentor supervise each exercise closely.
Any day, any time, flexible: one to one at the hour that suits your family, weekdays or weekends. India is two and a half hours behind Hong Kong all year.
It helps but is not required. Students without coding learn Python early in the course, since most security work needs scripts.
We teach the skills such contests test, on legal practice platforms. Entry rules are set by the organisers, and we promise no result. We have no link with HKCERT, HKPC or the DPO.
The security topics overlap with the ICT compulsory part. We do not write or complete any part of a student's School-based Assessment.
Monthly, in Hong Kong dollars, with no prepayment. The gateway charge is shown before you confirm.
Students who finish receive our own certificate of completion. It is not a professional security certification.
Related
Useful next pages.
All our Hong Kong courses.
Our global teen security page.
Papers, electives and the SBA line.
The language behind most tools.
For algorithm enthusiasts.
Vendor age terms, quoted.
Part of the guide: Every Hong Kong page
More guides: Coding and AI classes in Hong Kong · 中文:英文授課編程課程 · Start here: Online coding for kids · AI, vibe coding and AI agents: AI agents course · By age and school level: Adults · HKDSE ICT and maths: DSE ICT elective guide · IB, IGCSE, A-level and SAT: A level Computer Science tutor · Olympiads and competitions: AMC 10 preparation · Guides for families: After-school coding · School holidays: AI summer course · Districts and areas: Causeway Bay
Start here
In the free class your teenager runs the password lab, sees why salts matter and counts a search space. The mentor explains the permission rules, checks their coding level and suggests where on the path to begin.
Curious first? Read how we teach or open the course list.
WhatsApp us · +91 91233 66161 · connect@modernagecoders.com
Live online, one to one, in English, with mentors in India. WhatsApp is quickest from Hong Kong.
A priority demo is a full class of about 45 to 60 minutes. After the class the mentor sends a written skill report and a personal learning roadmap on WhatsApp. If you enrol, the demo fee is adjusted against your first month's fee. Share your demo Order ID with us on WhatsApp and we take it off.
Book a priority demo