I am creating a Restful Web service, which shall then be accessed by a website and native android applications. I am new to Restful and want to understand what shall be the best security mechanism I can use to secure this website.
I have read about:
- OAuth 1/2
- Http sessions (which are not suggested)
- Http Header mechanisms
What are the advantages/disadvantages of them vis-a-vis the other?