Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

No, it's exactly the other way around. The SOP protects you from these security issues. CORS is a feature that can be used to loosen up the SOP, to allow more complex inter-application behaviour.


ah right, my own brain got jumbled from reading all the comments forgetting that cors: '*' is not the default.


And now he's part of the confusing comment section lol


I fixed it, it stays relatively the same vs original explanation, just had inverted defaults I have no idea why I thought '*' was the default. Definitely impacted by the confusing comment section haha.




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

Search: