PEXA interview question

How did you implement Security in REST Services