News for hackers. Stuff that matters.
Re:An iframe from googlesyndication.com tries to access the ... by reaperducer on Sunday December 19, 2021 @11:30AM (#29615229)
The author is concerned that an ad might be able to surreptitiously turn on the camera or microphone

You are correct, that is the author's concern.

The reason the rest of us are concerned is because the general public has been conditioned by Google and others to just press "Accept" any prompt that pops up, no matter how dangerous.

Re:An iframe from googlesyndication.com tries to access the ... by jefftk on Sunday December 19, 2021 @12:45PM (#29616186)
In this case there isn't a prompt: access to the camera and microphone is disallowed by default in cross-origin iframes. The site would have to specifically delegate permission to the ad before it could even trigger a prompt.
Re:An iframe from googlesyndication.com tries to access the ... by denton-scratch on Sunday December 19, 2021 @03:05PM (#29617776)
> just press "Accept" any prompt that pops up

I auto-press [Accept]. I use an ad-blocker. I reject 3rd-party cookies. I disable JS by default, and re-enable it selectively for sites that refuse to work without JS. If that re-enablement involves more than a few clicks, I'll close the site - there are other fish in the sea.

What am I doing wrong?

Re:An iframe from googlesyndication.com tries to access the ... by ethbr0 on Sunday December 19, 2021 @11:36AM (#29615303)
This is a catch-22 though.

If something dangerous to privacy is being widely used in the world, then putting it behind a prompt creates an avalanche of prompts, and results in user apathy.

But not prompting requires you to choose a default, which either default to block and breaks things (if it was actually required) or defaults to allow.

Re:An iframe from googlesyndication.com tries to access the ... by Hallucinaut on Sunday December 19, 2021 @11:49AM (#29615500)
I would happily set all browsers to always deny all ads and untrusted domains the ability to use microphone and camera at all times. So there's no need for an avalanche of alerts, it just shouldn't be permissible for a resource from an untrusted source.

It may be widely used, but for a highly concentrated set of sites. I can't think of an occasion I've used it beyond Google, Microsoft, and Zoom properties. Perhaps Slack and Discord too? So there must be a better way.

Re:An iframe from googlesyndication.com tries to access the ... by noahtallen on Sunday December 19, 2021 @11:59AM (#29615640)
> deny… untrusted domains the ability to use microphone and camera at all times

I believe this is the default for most browsers now, right? (Or have I been spoiled by Firefox?) This is the best way, where the camera is always inaccessible, unless you enable it for a domain which needs it. Since I rarely ever see the camera/mic request option, I don’t think we’ve been conditioned to allow this type of request. (Compared to cookies, which show up on nearly every site.)

If you want to disable permissions dialogues altogether, then what’s a trusted domain? Just zoom and a handful of others? If you write yourself a nice app which uses the mic, do you have to email Google to get yourself added to the list of trusted domains? That would be pretty bad for the open web, so permissions dialogues are the alternative

Re:An iframe from googlesyndication.com tries to access the ... by smichel17 on Sunday December 19, 2021 @01:37PM (#29616821)
The solution to this is simple, but not easy: block everything by default and do not prompt to enable it (but do show an indicator of what has been blocked).

This is how Firefox tracker protection, uMatrix, noscript, and a plethora of ad blockers and other privacy tools work.

Re:An iframe from googlesyndication.com tries to access the ... by jeffbee on Sunday December 19, 2021 @12:16PM (#29615830)
What? In what way have you been conditioned to accept prompts?
Re:An iframe from googlesyndication.com tries to access the ... by fault1 on Sunday December 19, 2021 @12:24PM (#29615923)
I think there is most definitely conditioning going on. I watched my fiance click on one of the "accept all cookies" GDPR-prompts (it's become an antipattern) a few days ago. She almost automatically did it without thinking. I went to the same site on my laptop and if you clicked decline, it immediately brought up modal dialogs that made that site unusable. I can see why 99% of people would be conditioning to just hit yes.
Re:An iframe from googlesyndication.com tries to access the ... by jeffbee on Sunday December 19, 2021 @12:28PM (#29615969)
And you blame Google for that, instead of some brain-dead Eurocrat?
Re:An iframe from googlesyndication.com tries to access the ... by mrtranscendence on Sunday December 19, 2021 @01:09PM (#29616492)
Who said anything about blaming google for users clicking “ok” without thinking about it?
Re:An iframe from googlesyndication.com tries to access the ... by jeffbee on Sunday December 19, 2021 @01:31PM (#29616760)
The person to whom I replied!
Re:An iframe from googlesyndication.com tries to access the ... by theWreckluse on Sunday December 19, 2021 @02:10PM (#29617199)
To be fair, he said Google and others. I still don't know how much Google is responsible though.
Re:An iframe from googlesyndication.com tries to access the ... by hetspookjee on Sunday December 19, 2021 @04:14PM (#29618491)
Google goes way further and doesn't even serve a prompt. Instead they show you a opt-out plugin that you can download to run in your browser. Most blatant disregard of rules and feeling better than the rest behaviour if you ask me.
Re:An iframe from googlesyndication.com tries to access the ... by jefftk on Sunday December 19, 2021 @06:00PM (#29619442)
Link?
Re:An iframe from googlesyndication.com tries to access the ... by hetspookjee on Sunday December 19, 2021 @06:03PM (#29619477)
Re:An iframe from googlesyndication.com tries to access the ... by jefftk on Sunday December 19, 2021 @06:12PM (#29619541)
The site owner interacts with the user to get consent or not (often via a CMP) and then decides whether and how to invoke third-party scripts, including Google Analytics. The alternative would be for each third party script on the page to attempt to inject their own set of consent dialogues, but those would conflict with each other.

The extension you're linking allows someone to opt out of Google Analytics across all sites. That pretty much has to be a browser extension, because GA by default doesn't use any third-party cookies (and third party cookies are going away anyway).

(Disclosure: I work at Google, speaking only for myself)

Re:An iframe from googlesyndication.com tries to access the ... by hetspookjee on Sunday December 19, 2021 @06:23PM (#29619633)
Thank you for replying. Though, I do not understand why a plugin is required? It feels even more invasive to have such a thing running in the browser.

My understanding is that I have an advertisement ID attached to my user, and that enables Google to infer who I am and what my persona is about, to match me with personalized ads.

Wherever possible I disallow Google and all others to stop tracking me, having done so in my account. I find it odd I also need to disallow the tracking from Google, through a third party site (e.g. anyone's blog) even though I have already done so through every direct means possible. What do the consent settings in Google even mean then if I need to allow/disallow consent of tracking per seperate website in addition?

Re:An iframe from googlesyndication.com tries to access the ... by jefftk on Sunday December 19, 2021 @06:29PM (#29619674)
Your understanding is correct for Google Ads, but in its default (and most common) configuration, Google Analytics does not interact with that third party cookie ID. GA is primarily a tool for helping publishers understand what's happening on their sites, and so uses a first-party (per-site) cookie.
Re:An iframe from googlesyndication.com tries to access the ... by denton-scratch on Sunday December 19, 2021 @03:08PM (#29617803)
Which Eurocrat required stupid popups? And since when did US corporations kow-tow to EU bureaucrats? This is stupid corporations, hiding behind GDPR to plant cookies.