Allow only requests from local machine in WebAPI 2

Viewed 4695

There are some action methods in my WebAPI 2 application where I would like to disable remote accessibility (scheduled administrative tasks). Other action methods should be publicly available. Is an ActionFilter the best bet in this case?

2 Answers
Related