开发者

How can I securely accept form data in a jsonp request within my mvc app?

开发者 https://www.devze.com 2023-01-18 05:50 出处:网络
I have a need to accept form data from other web sites to a central MVC application.The fo开发者_如何学Pythonrm data is just strings of name value pairs and they vary from site-to-site.I plan to conca

I have a need to accept form data from other web sites to a central MVC application. The fo开发者_如何学Pythonrm data is just strings of name value pairs and they vary from site-to-site. I plan to concatenate all values and delimit them with a special character. Up to this point, I think I can do this with a JSONP type request using AJAX. What I'm concerned with is authenticating the incoming 'post'.

So is this possible? Is this the worst way to do it? (I've been known to pick 'em!)

0

精彩评论

暂无评论...
验证码 换一张
取 消