Providence Interview Question

How do you protect an API?