News for hackers. Stuff that matters.
Re:Developers don't understand CORS by xyzzy_plugh on Wednesday July 10, 2019 @04:50PM (#20406405)
The alternatives are grim.

As an extreme example, if I were to stream video to your browser from my website, evil.com, I would have to either host or proxy those streams through my server. Instead, I can just point your browser to a video from youtube.com or something.

If youtube.com then decides you need to log-in (or be logged-in) to verify your age (as they do), then that is between your browser and youtube.com to negotiate -- evil.com never sees your credentials.

Re:Developers don't understand CORS by jjeaff on Wednesday July 10, 2019 @09:36PM (#20408390)
A tangent, but YouTube actually does not require login to verify age on embedded videos.