Tiger Analytics Interview Question

Explain how to secure rest api on server side