Arup Laboratories interview question

How do you make a secure login form?