Let's say I have a public Web API, which does not need authorization, like:
public class MobileDataController : ApiController
{
[AllowAnonymous]
public IEnumerable<string> Get()
{
return new string[] { "One", "Two", "Three" };
}
}
Is it possible to make this Web API only available for my iPhone and Android native app?
Basically I do not want the Web API to process any request that is not coming from my phone native app.