Search code examples
c#androidioswcfwebhttp

WCF Rest JSON Service Authentication with no Certificate


I'm developing WCF Rest JSON service for Android and IOS Mobile apps. I need to provide some security to this..I gone through many Articles but most of them using Certificates.. Could anyone suggest which is the best and built in way to secure the service..


Solution

  • I would recommend the use of OAuth (Since you are on multiple mobile platforms). It does not use user/password authentication, you instead include OAuth inside the HTTP header.

    Here is documentation and sample implementations;