I have an Azure WebAPI and I have added it to Azure API Management.
As well as accessing the API through an API Management URI I note that I can still directly access the Azure API using the URI to the API.
In order to secure the raw API should I:
- add code to the API in order to secure it (by treating the API as the ASP.Net application it is and using a certificate)
or
- Use some facility of Azure to secure the API