Cognizant Interview Question

How do you ensure security in REST