This security restriction is to avoid cross-site scripting attacks (XSS).
这个安全限制是为了避免跨站点脚本攻击(XSS)。
The SOP is a security restriction that basically forbids a page loaded from a certain origin (meaning the protocol/host/port trio of the URL) to access data from a different origin.
SOP 是一种安全性约束,它实际上禁止从某个源(即 URL 的协议/主机/端口三元组)装载的页面访问来自不同源的数据。
This should only work if the client and the server are on the same machine, and no special restriction logic is implemented in the customized security plug-ins.
此操作仅当客户机和服务器处于同一个机器上时才能进行,且在定制的安全性插件中没有执行任何特殊的限制逻辑。
应用推荐