I'd like to filter out requests coming from blacklisted hosts. I did some research but found nothing reliable (using RemoteIp, for instance, or UserHostAddress).
Let's say my service receives requests from several products. Example:
GET /ping only from ["https://producta.com"]
Product A on https://producta.com/ - ok
Product B on https://anotherurlforb.com - forbidden
Is this feasible?
(I'm currently using ServiceStack and I'm loving it.)