Re: XMLHttpRequest file upload vulnerability Chrome 2 & Safari 3
> .html can be crafted to force a unaware user to read file from local, and then possibly send it to a server.
Yup, this is an unfortunate, legacy property, not specific to any
particular browser; it is also fairly well-known and documented; see:
http://code.google.com/p/browsersec/wiki/Part2#Same-origin_policy
(multiple sections discussing file: access rules, including
XMLHttpRequest, DOM access, etc)
http://blog.chromium.org/2008/12/security-in-depth-local-web-pages.html
/mz
討論串 (同標題文章)
完整討論串 (本文為第 3 之 3 篇):