阅读背景:

如何在MVC或Web Api ajax调用中验证referrer

来源:互联网 

my MVC app has common ajax methods (in web api and regular controller). I'd like to authorize these calls based on which area (view) of my app the call is coming from. The problem I am facing is how to verify the origin of the ajax call. my MVC app has common ajax methods (in web api




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: