Box Interview Question

How do you store/validate a user's login information?