Coder Social home page Coder Social logo

Comments (6)

wkliang avatar wkliang commented on May 16, 2024 1

「跨域并不能完全阻止 CSRF,因为请求毕竟是发出去了。」
CORS 的第一次請求應該是不帶 cookie 的,應該是可以阻止 CSRF

from blog.

FairyEver avatar FairyEver commented on May 16, 2024

在掘金上看到的您的文章 《九种跨域方式实现原理》,感觉写的很棒,希望能携带出处转载到 d2-admin 文档 https://doc.d2admin.fairyever.com/zh/ 的网络请求部分,因为目前我遇到很多用户不会解决跨域问题,希望您的这篇文章能帮助使用我开源项目的用户

from blog.

ljianshu avatar ljianshu commented on May 16, 2024

在掘金上看到的您的文章 《九种跨域方式实现原理》,感觉写的很棒,希望能携带出处转载到 d2-admin 文档 https://doc.d2admin.fairyever.com/zh/ 的网络请求部分,因为目前我遇到很多用户不会解决跨域问题,希望您的这篇文章能帮助使用我开源项目的用户

很感谢对文章认可,请问下,有稿费吗

from blog.

FairyEver avatar FairyEver commented on May 16, 2024

哈哈,需要稿费的话我可以个人给你,因为项目是我的项目,不妨微信聊?我们商量一下。我的微信是 liyang1711467488

from blog.

Latube avatar Latube commented on May 16, 2024

good

from blog.

vnues avatar vnues commented on May 16, 2024

postMessage是HTML5 XMLHttpRequest Level 2中的API,且是为数不多可以跨域操作的window属性之一,它可用于解决以下方面的问题:

上面这个描述确定吗 为啥我在HTML5 XMLHttpRequest Level 2 找不到

https://xhr.spec.whatwg.org/ 2008年2月,就提出了XMLHttpRequest Level 2 草案。

from blog.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.