News for hackers. Stuff that matters.
Re:We handled a recent phishing incident that targeted Dropbox by dpifke on Tuesday November 01, 2022 @01:39PM (#33424556)
You really don't want to give some random SaaS tool full permission on your production web origin.

If I'm Example Ltd. and my customers are trusting me to keep their data on example.com safe, and I use example.blog for my blog hosted by Jimbo's Blogging Service, I don't need to worry about Jimbo or his employees setting/reading my user's cookies, local storage, etc. With blog.example.com, it'd be really easy to leak information.

Re:We handled a recent phishing incident that targeted Dropbox by chias on Tuesday November 01, 2022 @02:39PM (#33425530)
Why not just use a subdomain? This is, arguably, what subdomains are for.
Re:We handled a recent phishing incident that targeted Dropbox by mschuster91 on Tuesday November 01, 2022 @02:48PM (#33425685)
Subdomains usually get all the cookies from the main domain (or at least they used to, didn't follow up on that issue for some years).
Re:We handled a recent phishing incident that targeted Dropbox by cuttysnark on Tuesday November 01, 2022 @03:54PM (#33426573)
It's the opposite. Set-Cookie takes the optional Domain attribute and "If omitted, this attribute defaults to the host of the current document URL, not including subdomains." However, perhaps you're remembering "Multiple host/domain values are not allowed, but if a domain is specified, then subdomains are always included." [0]

[0] https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Se...

Re:We handled a recent phishing incident that targeted Dropbox by getcrunk on Tuesday November 01, 2022 @02:48PM (#33425673)
Can you give an example of what it means for a subdomain to not be walled off?
Re:We handled a recent phishing incident that targeted Dropbox by kadoban on Tuesday November 01, 2022 @02:51PM (#33425711)
One thing you'd really want to do in particular is stop blog.example.com from either setting or reading any cookies from example.com
Re:We handled a recent phishing incident that targeted Dropbox by nokya on Friday November 04, 2022 @10:13AM (#33467015)
Isn't that why we have subdomains?