David Proudfoot was interested in a security job, so he thought he would 'expose a weakness in security'