Infosys Interview Question

how to secure web api