Hacker News new | past | comments | ask | show | jobs | submit login

Ohh I dunno. Lets say you're running a non-HTTPS site and an attacker MITMs one of your users and injects JavaScript which will appear to come from your site into that users session.

At that point the attacker can use that JavaScript to send your user's data to another server under their control, same origin won't help, as the JavaScript will appear to come from your site.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: