update
Locking It Down: Year Two Students Learn How Real Apps Protect User Data
By Bernard M. · Oct 20, 2026 · 2 min read

Here’s a question I’ve started asking my Year Two students: when you type your password into an app, where does it actually go?
Most of them have never thought about it. Honestly, before I got into this field, I hadn’t either. You hit “Log in,” you’re in, and you move on with your day. But behind that one tap, the app is making a lot of decisions to keep your information safe. This semester, my students are learning how to make those decisions themselves.
We started with authentication, the part where an app checks that you’re really you. The first lesson stuck with them fast: you never store someone’s password as plain text. If a database gets stolen and the passwords are sitting there readable, every one of those accounts is gone. So we talked about hashing. It scrambles a password in a way that can’t easily be undone, using tools like bcrypt and Argon2 that are built to be slow on purpose. From there we got into two-factor codes, staying logged in safely, and what’s really happening when you click “Sign in with Google.”
Next came authorization. Once the app knows who you are, what should you be allowed to do? I like to use our own grading system as the example. You can see your grades, but not your classmate’s. I can change grades for my classes, but not for every class in the district. Those rules don’t enforce themselves. Someone has to build them, carefully, and test them. We’ve been working with the idea of “least privilege,” which just means giving people exactly the access they need and nothing extra. It sounds simple, but getting it wrong is one of the most common security mistakes out there.
Then we tackled encryption. We looked at how the little padlock in your browser protects data while it travels, and how stored data can be locked up so a stolen file is useless without the key. My favorite moment in this part is when students realize hashing and encryption aren’t the same thing. One is meant to be reversed with a key and the other isn’t. Once that clicks, a lot of other things fall into place.
Finally, we’re looking at the standards and laws real developers work under, like the OWASP Top 10, NIST’s password guidelines, FERPA for student records, COPPA for kids’ data, and privacy laws like GDPR and CCPA. I want my students to understand that protecting people’s data isn’t optional. It’s part of the job, and in a lot of cases, it’s the law.
Every app my students build from here on will hold someone’s information. I want them to treat it the way they’d want their own treated. These skills open doors to careers in software and cybersecurity. More than that, they’re turning my students into the kind of developers people can trust.
I’m really proud of how they’re rising to it. Stay tuned. I can’t wait to show you what they build next.
#Year Two#Cybersecurity#Authentication#Authorization#Encryption#Data Privacy#CTE#Coding