I have an Azure CloudService with two roles. Óne of these roles exposes a public endpoint and an internal endpoint. How can i control access to a MVC controller based on which endpoint the request is coming from?
Is there a better way of achieving this?