Question 1
2 marksAn online game's login routine locks a player's account after three incorrect passwords have been entered.
Explain why the routine limits the number of attempts.
Model answer
Without a limit, someone who does not know the password could keep trying different passwords until one works. Locking the account after three wrong attempts means they only get three guesses, which makes it very unlikely they can get into the player's account.
Explanation
An authentication routine with unlimited attempts lets an attacker keep guessing, possibly automatically. A small limit makes guessing impractical while still allowing a genuine user a couple of typing mistakes. 'It is more secure' needs a reason to earn credit.
Mark scheme
-
1 mark
To stop someone who is not the player (an unauthorised person) trying password after password until they guess it
2 marks for AO1 (understanding). 1 mark for the reason, 1 mark for the expansion. A. 'to prevent a brute-force attack'.
-
1 mark
An expansion, e.g. with only three attempts the chance of guessing the correct password is very small, so the player's account (and data) is kept secure
'It is more secure' on its own scores 0: the first mark needs the idea of someone trying many passwords.