what is defensive design?
Programmers designing their programs in a way to eliminate as much insensible inputs as possible to make program robust as possible.
what is authentication?
To sign in we need a username to
check if the user has an ‘account’. We need a password to check if the user is really who they say they are. This is known as the authentication of the user.
what is input validation?
process of making sure that input data meets certain criteria.
In defensive design what does the programmer try to do?
anticipate the possible inputs,
ensure that the program caters for all possible
ensure the program rejects inputs that would
cause it to malfunction,
produce error messages to guide the user to
the correct type of input.