Is there something like:
[Allow IP 123.123.12]
public ActionResult MyMethod(string xml)
{
//Only allow posts from the above IP
}
Is there something like:
[Allow IP 123.123.12]
public ActionResult MyMethod(string xml)
{
//Only allow posts from the above IP
}
Thank you Mr. Kanavos, yes this is much better handled with IIS and webconfig.
http://www.iis.net/configreference/system.webserver/security/ipsecurity