本文介绍了跨站点表单发布与不同域上的外部站点的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我们正在使用表单帖子将我们的网站与外部网站集成.我们页面上的表单将提交到不同域的外部站点.这甚至可能吗?我认为这将是一次注入攻击.
We're intergrating our site with an external site using form posts. The form on our page will submit to extenal site on a different domain. Is this even possible? I thought that would be an injection attack.
推荐答案
是的,应该是可能的.确保你有足够的验证,这样你就不会发布有害数据(你不承担任何责任),我也希望对方也有一些服务器端验证.
Yes it should be possible. Make sure you have enough validations in place so that you dont post harmfull data (and you are not held responsible) also I hope the other party has some server side validation as well.
这篇关于跨站点表单发布与不同域上的外部站点的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!