Realtor.com Interview Question

How would you secure a public facing API