News for hackers. Stuff that matters.
Re:Do You Really Know CORS? by saganus on Wednesday October 03, 2018 @08:58PM (#18136191)
Genuine question: why do you feel you've cut your teeth more than most?

I.e. what kind of dev work do you do that makes you have to deal with this more than the average developer?

Re:Do You Really Know CORS? by Klathmon on Thursday October 04, 2018 @09:00AM (#18139467)
The main reason is that I've had to re-implement it on the server side 2 times now by sheer "luck", as well as I feel like i've just hit more of the edge cases than most just because of the areas I ended up working in (which just happened to be a handful of canvas-based apps where a couple of them needed to call out to unknown 3rd parties and I had to be very careful about using opaque responses as they would ruin the canvas).

Maybe I'm just full of myself though!

Re:Do You Really Know CORS? by saganus on Thursday October 04, 2018 @09:10AM (#18139536)
Ah. That's interesting.

And in no way I meant to imply that you were full of yourself :)

I was just curious as I've only done some front-end dev and dealing with CORS was a minor part of it and I'm always interested in HNers with niche jobs or uncommon experience.

Re:Do You Really Know CORS? by nazri1 on Wednesday October 03, 2018 @11:59PM (#18137086)
The kind of work where you need to run javascript loaded from third party sites and make it do stuff to the user (advertisements, chat).
Re:Do You Really Know CORS? by meddlepal on Wednesday October 03, 2018 @10:20PM (#18136602)
Not OP, but my guess... Most devs aren't frontend devs and I would categorize this as mostly a frontend developer problem.
Re:Do You Really Know CORS? by harshvladha on Thursday October 04, 2018 @01:04AM (#18137320)
I think:

* Most devs are at least full stack

* Most apps now-a-days interact directly/indirectly with browser

* Attributing this problem to frontend devs without understanding why CORS and issues in handling that, makes you unaware of security issues with your backend services.

FYI: I am a backend developer.