You open your mobile-banking app on a Friday evening. It asks for your PIN. You are about to send Tk 80,000 for a family expense, and the app asks again: a six-digit code arrives, and then your fingerprint. Three separate checks for one transfer. Why? And once you are in, why can you send money from your own account but not look at your neighbour's? Behind the app, the bank's database sits on a server that must answer your phone and stay out of reach of everyone else on the internet. Who stands at that door, and what exactly is the guard looking at?
Those are the three questions of this chapter. How does a system become sure that you are you? That is authentication. Once it knows who you are, how does it decide what you may do? That is access control. How does a network keep strangers away from the machines that hold the data? That is the firewall and its neighbours. Bank and BCS papers keep asking all three, one after another, because one weak link in any of them undoes the other two.
By the end you will do four things. You will tell the three kinds of proof apart, say when a login is really two-factor, and count how many guesses a PIN, an OTP or a password can take. You will work out a one-time code by hand, as your authenticator app does, and explain why a passkey cannot be phished while a typed code can.
You will name the access-control models (DAC, MAC, RBAC, ABAC, Bell–LaPadula, Biba, Clark–Wilson), apply each to a bank, and explain how administrators' accounts are kept safe. And you will add the security side to the firewall you already met in the Networking course: how to audit a rule base, which firewall types an exam expects, what a honeypot is for, and why an alarm that is right 95 times in 100 can still be wrong most of the time.