News for hackers. Stuff that matters.
Re:Undocumented Catalina file access change by Ididntdothis on Wednesday December 18, 2019 @01:39PM (#21827816)
Can you trust users to understand what the permission prompts really mean? Its like UAC in Windows where most people just press “yes” all the time.
Re:Undocumented Catalina file access change by privateSFacct on Wednesday December 18, 2019 @01:57PM (#21828013)
The problem is the false alert - you HAVE to press yes all the time to get NORMAL work done.

Same with cookie acceptance popups - supposedly this is allowing the user to know the website uses a cookie blah blah, but you HAVE to press yes in most cases to go forward - so everyone has now been trained to auto click yes all the time. At this point those popups could say anything and at least 10% of users would still click yes.

I like the other approach. NO popup / warning unless something meaningfully unexpected.

The problem is there are bunch of warriors on the net and elsewhere that do things like claim that users hate cookies and won't accept them, so need to be warned of them by every website (which can still technically set cookies regardless of any popup). If users don't want cookies they can block them at the browser level - that's how you have actual control BTW - a scam site may not put up the cookie notice and may still be able to set the cookie.

Meanwhile - no notice required when your ISP tracks your every move AND is the monopoly provider. The internet folks have priorities totally backwards - so much focus on evil google it is ridiculous. The reason many people give google their entire search / email history is that they trust google more than the Chinese phone folks, the samsungs, the comcasts etc.

Some real actions to improve the net:

We need actual criminal prosecution and responsibility for websites distributing malware, browser exploits or downloadable.

Owner goes down even if it was their ad network, they can then sue the ad network and if they can recover from them great, if not they still pay for picking a crappy ad network. If their webhost was hacked they still pay for picking stupid web host, they can then sue webhost to recover.

We need to ban and criminally prosecute sale of info by places like ISPs and DMV's that are monopoly providers that have strong paid revenue streams already.

Re:Undocumented Catalina file access change by kbenson on Wednesday December 18, 2019 @02:04PM (#21828082)
> The problem is there are bunch of warriors on the net and elsewhere that do things like claim that users hate cookies and won't accept them, so need to be warned of them by every website (which can still technically set cookies regardless of any popup). If users don't want cookies they can block them at the browser level - that's how you have actual control BTW - a scam site may not put up the cookie notice and may still be able to set the cookie.

Tracking was being targeted, cookies were conflated with tracking (they are, but not really at the level that's being talked about), and some ineffectual legislation was passed to target cookies instead of tracking. It's almost as if the whole process was steered to that point to avoid any useful change with regard to online tracking...

Re:Undocumented Catalina file access change by saagarjha on Wednesday December 18, 2019 @02:13PM (#21828205)
If you're talking about the EU cookie law, that explicitly targets cookies that have nothing to do with the functionality of the site.
Re:Undocumented Catalina file access change by privateSFacct on Wednesday December 18, 2019 @04:00PM (#21829401)
The function of the website for the website owner is to make money. Setting cookies helps with that. The EU law says I have to disclose lots of stuff and get your consent before tracking you. So every website added a disclosure and consent button, and every user clicked on it.

If you think of the wasted power of a billion warning / notifications a day, you realize how little folks will pay attention to these warnings, it's the only way to get on with your life is to tune these warnings out.

SERIOUSLY - can't someone do a study in the EU showing that their constant warnings mean folks have totally tuned them out?

Re:Undocumented Catalina file access change by ratww on Wednesday December 18, 2019 @04:14PM (#21829554)
Most implementations where there's only a disclosure/consent button are not compliant and are as good as not having anything.

Here's how the GDPR options of an European website looks like: https://imgur.com/a/ckOivi7

That "Analytics Advertising Feature" MUST be unchecked by default. Only users that actually want to be tracked are tracked.

Every "tracking feature" (cookies, fingerprinting, IP tracking, whatever) must be hard opt-in, and the website has to provide an option for the user to opt-out if they change their mind.

If a website only use functional cookies (colours, session, login, cart, language) they don't need consent, just disclosure (and it doesn't have to be an ugly cookie bar).

Re:Undocumented Catalina file access change by privateSFacct on Wednesday December 18, 2019 @06:57PM (#21830765)
Go to this website:

https://europa.eu/

This is the official EU website.

EVERYONE is being trained to click I accept.

And then they do a nonauthenticated javascript scrip insert into a secure page ON THEIR HOMEPAGE. You gotta love it.

  <script type="text/javascript" src="http://ec.europa.eu/wel/surveys/wr_survey01/wr_survey.js"></script>
What would provide users some actual security is if their browser would block this unauthenticated insert of javascript if its in a secure page. In other words, DON'T trust the website to do the right thing, just take control at the browser level.
Re:Undocumented Catalina file access change by ratww on Thursday December 19, 2019 @04:58AM (#21833469)
No.

Look again.

There's a very clear "I refuse cookies" button, which I can click and continue to the website. [1]

The point of those things is that I can refuse cookies or tracking without retaliation and without loss of functionality. Remember: functional cookies don't require consent.

They are doing it right.

It is all the non-compliant companies with only the "Accept" button that are training users to click on it. Those cookie bars are not compliant with GDPR at all.

[1] https://imgur.com/a/tj7egN0

Re:Undocumented Catalina file access change by oneeyedpigeon on Thursday December 19, 2019 @08:26AM (#21834661)
I agree that this is an excellent approach, but the wording should be a lot clearer. When I see “This site uses cookies to offer you a better browsing experience” and a yes/no choice, I assume I’ll be missing out if I choose 'no'. Really, there should be an explicit reference to 'tracking', and a reassurance that everything will work perfectly if I choose 'yes'.
Re:Undocumented Catalina file access change by privateSFacct on Thursday December 19, 2019 @04:28PM (#21839527)
Look again please.

"Here's how the GDPR options of an European website looks like: https://imgur.com/a/ckOivi7 "

False, the EU website has an ugly cookie bar with a button called "I accept" that everyone has been trained to click yes on.

"That "Analytics Advertising Feature" MUST be unchecked by default. Only users that actually want to be tracked are tracked."

False, users can be presented with an accept / reject button on a standard cookie bar, clicking accept can opt them into tracking - please LOOK at the EU website example I provided.

"Every "tracking feature" (cookies, fingerprinting, IP tracking, whatever) must be hard opt-in."

This can be done though an accept button on a website that users have been trained to click yes on. My earlier suggestion that folks do a study on how many users navigate into these policies for every website they visit to make fine grained selections if such options are even available stands as well.

"If a website only use functional cookies (colours, session, login, cart, language) they don't need consent, just disclosure (and it doesn't have to be an ugly cookie bar)."

I gave you an example of an ugly cookie bar on an EU website subject to GPDR - I can find many more.

This is the problem with these folks messing the net up. Everyone should do this / shouldn't do that, but no attention to what is actually happening.

I want to be clear, billion of pages are showing I accept buttons, some without reject buttons if they are disclosure only, some with reject buttons that kick you off the site, and some with reject buttons that opt you out of tracking, and users are being / have been trained by the EU alert notices / disclosure only notices (which generally DO have an I accept button) etc to waste their time clicking I accept everywhere.

This is bad for actual user choice, actual privacy.

Re:Undocumented Catalina file access change by saagarjha on Wednesday December 18, 2019 @09:02PM (#21831424)
That's because they're using cookies that are not essential to the functioning of their website.
Re:Undocumented Catalina file access change by saagarjha on Wednesday December 18, 2019 @04:15PM (#21829560)
> The function of the website for the website owner is to make money.

Making money is not functionality to me. (Also, note that your website doesn't have to make money: I run my personal blog at a monetary loss, just like many other people.)

> The EU law says I have to disclose lots of stuff and get your consent before tracking you. So every website added a disclosure and consent button, and every user clicked on it.

Right, what they didn't realize that everyone would just make it super annoying in an attempt to lampoon the law instead of actually changing their behavior because they'd just make usage of their website conditional on it. Hence GDPR, where now users can actually click "no" and not be penalized for it.

Re:Undocumented Catalina file access change by oneeyedpigeon on Thursday December 19, 2019 @08:31AM (#21834685)
Not only does your website not have to make money, it doesn’t have to:

- make money via advertising

- make money via advertising that tracks the user

- make money via advertising that tracks the user and hands over that data to a third party

- make money via advertising that tracks the user, hands over that data to a third party, and opens a security hole in doing so

I’m increasingly annoyed as I go down that list, but I might be willing to accept some of the behaviour at the top of it.

Re:Undocumented Catalina file access change by kbenson on Wednesday December 18, 2019 @02:27PM (#21828344)
I'm just saying that it's 90% visual and 10% effectual (and I think I'm being generous), and likely makes the average person think good strides have been taken towards the problem of line tracking, which I don't think it really helps. It's the perfect level of highly visible and almost useless that it may in fact be counter-productive.
Re:Undocumented Catalina file access change by ratww on Wednesday December 18, 2019 @04:20PM (#21829605)
Implementations where there's only an "Accept" option are not following law, though.

The user must opt-in of their own volition, must be able to reject the tracking cookies (or any kind of tracking) and must be able to opt-out later as well.

Btw: Functional cookies (colours, session, login, cart, language) don't need consent, just disclosure (and it doesn't have to be an ugly cookie bar).

Re:Undocumented Catalina file access change by TheRealPomax on Wednesday December 18, 2019 @02:47PM (#21828573)
It explicitly _doesn't_ target cookies, it explicitly targets any and all stored information that can be resolved to "a specific person", which simply includes things like session and tracking cookies.
Re:Undocumented Catalina file access change by hjnilsson on Wednesday December 18, 2019 @03:27PM (#21829058)
Session cookies are allowed (without consent) if your site has something like login or stored settings. You don’t need consent if the cookie is required to provide a function to the user.

Only cookies that are used to track user behavior, and can be tracked back to that particular user are disallowed. So things like Facebook like buttons would require consent (since Facebook will use the info gained to target you with ads in another context) while basic Google Analytics or similar is fine as it only presents aggregated data to the site owner and does not leak data cross-site. Some GA features do require consent though (like demographics tracking) as it requires Google to cross-reference between sites. You can generally turn these off (I think they even are off by default?)

Note that implementation of the law also differs between EU countries. So a few are more strict. It is up to the national privacy agency to set exact rules.

Re:Undocumented Catalina file access change by klausjensen on Wednesday December 18, 2019 @02:36PM (#21828445)
What do you mean? If I have a website and ONLY use a single cookie to save a setting for the user for the background color - I still have to get the user to accept the cookie, right?
Re:Undocumented Catalina file access change by bouke on Wednesday December 18, 2019 @02:59PM (#21828726)
No. It's a functional cookie. You don't need permission for functional cookies.
Re:Undocumented Catalina file access change by throwaway2048 on Wednesday December 18, 2019 @02:45PM (#21828542)
The EU "cookie" law does not mention cookies, and is equally applicable to all forms client side tracking.

Most websites made it about cookies, but it does not contain that language.

Re:Undocumented Catalina file access change by saagarjha on Wednesday December 18, 2019 @02:02PM (#21828059)
Users don't want cookies. It's just that websites have made their tracking apparatus dependent on them, so they force users to accept them if they'd like to access the site.

> Meanwhile - no notice required when your ISP tracks your every move AND is the monopoly provider.

Yeah, no. Nobody likes their ISP, it's just that it's a lot harder to enact change here.

Re:Undocumented Catalina file access change by cortesoft on Wednesday December 18, 2019 @02:08PM (#21828133)
I mean, I want cookies on lots of sites... like any one that I login to. How else are they supposed to track access to my account?
Re:Undocumented Catalina file access change by saagarjha on Wednesday December 18, 2019 @02:10PM (#21828163)
That's fine under the EU cookie law, no popup for permission required.
Re:Undocumented Catalina file access change by cortesoft on Wednesday December 18, 2019 @07:22PM (#21830910)
I know. I was just replying to the commenter who said "no one wants cookies"
Re:Undocumented Catalina file access change by saagarjha on Wednesday December 18, 2019 @07:26PM (#21830936)
That would be me. I was using cookies in the context of "cookies that cause popups to appear", because the other kind of cookies are useful and don't annoy people.
Re:Undocumented Catalina file access change by lostlogin on Wednesday December 18, 2019 @02:12PM (#21828183)
Couldn’t that happen from your side?
Re:Undocumented Catalina file access change by scarmig on Wednesday December 18, 2019 @02:44PM (#21828540)
Indeed! Someone should make a browser API that lets services direct the user agent to set domain-scoped key value pairs that are passed back to the service on subsequent requests. That would let the client automatically prove that they're authenticated while maintaining the server-side statelessness.
Re:Undocumented Catalina file access change by cortesoft on Wednesday December 18, 2019 @07:24PM (#21830919)
That sounds like the old Unix 'magic cookies'.. maybe we should call the things 'cookies'!
Re:Undocumented Catalina file access change by coldtea on Wednesday December 18, 2019 @02:31PM (#21828392)
Obviously no. What it would make it different than another user accessing the same account then?
Re:Undocumented Catalina file access change by bdamm on Wednesday December 18, 2019 @02:28PM (#21828363)
HTTP is stateless so, no.
Re:Undocumented Catalina file access change by pmarreck on Wednesday December 18, 2019 @02:37PM (#21828449)
Cookies save me from having to log into every site every time I want to use a service. That is more important to me than not allowing cookies due to some conspiracy-theorist reason.

What I might not want is cookies from OTHER sites like Google being set and/or accessed by non-Google sites. But having worked at web startups, I know firsthand how important google analytics were, so I don’t know.

Re:Undocumented Catalina file access change by ratww on Wednesday December 18, 2019 @04:22PM (#21829627)
> Cookies save me from having to log into every site every time I want to use a service

GDPR allows that, and you don't need consent, only disclosure, and you don't need an ugly cookie-bar.

Re:Undocumented Catalina file access change by klodolph on Wednesday December 18, 2019 @01:42PM (#21827854)
Exactly. This is why when you double-click on an arbitrary app you downloaded on macOS, there is no “yes” button. You have to bypass the protection by right-clicking on the app or by changing system settings.

This is also why if you access a website with a self-signed certificate, the browser will not give you a “yes” button to go through. You have to jump through a few hoops somewhere else (depending on browser) to accept the self-signed certificate, and then you can see the site.

I think this is the right choice!

Re:Undocumented Catalina file access change by strbean on Wednesday December 18, 2019 @02:00PM (#21828042)
I dislike the whole "Pop out the system settings dialog and enable things for the application" approach. It throws users into what is likely unfamiliar territory, which just obfuscates things further.

I think a list of permissions with detailed explanations as to what they mean, and a Yes button, is a better approach.

Although there needs to be an option to disable or even mock certain permissions.

Re:Undocumented Catalina file access change by Ididntdothis on Wednesday December 18, 2019 @02:07PM (#21828117)
Agreed. Especially since there is no explanation why the permission is needed and what it does in detail. I am a very experienced Windows dev but on my MacBook I have no idea what the exact implications are when an app requires access to “accessibility”. I am pretty sure the regular user doesn’t even have the foggiest idea but just does what he is told to do to make the app work.

There is also no log what tells how the app uses the permission. It would be nice if there was a log of each use of the granted permission.

Re:Undocumented Catalina file access change by ryandrake on Wednesday December 18, 2019 @02:24PM (#21828312)
The rule of thumb I would use for an “accessibility” permission is: if the application’s purpose is specifically for disabled people (like a screen reader or magnifier for blind people), and you are disabled, then you should choose Yes. In all other cases always click No. Accessibility tends to be a “back door” permission that allows apps to do all sorts of powerful things they shouldn’t, like read the contents of everything you type and scrape the screen. “Normal” apps should never ask for accessibility. If they are, their developer is likely up to no good.

Dropbox, for example, was recently in the news for silently granting itself accessibility permission, and Apple had to update the OS to prevent them from doing it. They still beg users to grant them this, even lying (EDIT: misleading users) on their web page about the purpose of the permission [1].

1: https://help.dropbox.com/installs-integrations/desktop/mac-p...

[EDITed instead of replying because HN limits the number of posts I can make for whatever reason.]

Re:Undocumented Catalina file access change by Ididntdothis on Wednesday December 18, 2019 @02:42PM (#21828514)
I have had several legitimate apps asking for accessibility permissions. I guess it comes down to the fact that permissions are not fine grained and specific enough. Same on android and iOS.
Re:Undocumented Catalina file access change by Wowfunhappy on Wednesday December 18, 2019 @09:47PM (#21831645)
Accessibility permissions allow you to do a lot of really great stuff with Apple Events that is otherwise just completely impossible. I use it very heavily on my own machine.

It's certainly a powerful ability, and I can completely understand not wanting to grant it, but realize that the need is legitimate (and non-malicious) in a lot of cases.

Re:Undocumented Catalina file access change by bobwaycott on Wednesday December 18, 2019 @02:53PM (#21828650)
This does not really work for things like tiling window managers on macOS—are you suggesting developers of such tools are up to no good, or are such system-control tools not fitting “normal”?
Re:Undocumented Catalina file access change by ryandrake on Wednesday December 18, 2019 @03:06PM (#21828816)
If it can’t be done with non-a11y APIs then it doesn’t fit the definition of “things Apple thinks normal app should do,” whether we agree with that or not. The way I see it, and I know it’s a controversial view, if a developer is ok with flaunting the platforms rules about the purpose of an API[1], then what other behavior might they be ok with?

1: The first sentence in Apple’s accessibility API docs[2] is: “Accessible apps help users with disabilities access information and information technology.“ I think they are very clear about the purpose of these, and it’s not “to do cool innovative things missing from the regular API”.

2: https://developer.apple.com/library/archive/documentation/Ac...

Re:Undocumented Catalina file access change by saagarjha on Wednesday December 18, 2019 @03:33PM (#21829117)
That's the wrong API.
Re:Undocumented Catalina file access change by layoutIfNeeded on Wednesday December 18, 2019 @05:35PM (#21830189)
Re:Undocumented Catalina file access change by a1369209993 on Wednesday December 18, 2019 @08:11PM (#21831189)
Contrary to ryandrake's rule of thumb, window managers are accessibility tools. You could argue that there should be a distinction between accessibility-tools-for-disabled-people and accessibility-tools-that-are-useful-to-everyone, but I'm not convinced such a distiction is useful, especially since Apple would likely try to subvert and destroy the accessibility-tools-that-are-useful-to-everyone, since those conflict with their user-hostile UI design, as https://news.ycombinator.com/item?id=21828816 alludes to with:

> I think they are very clear about the purpose of these, and it's not "to do cool innovative things missing from the regular API".

Re:Undocumented Catalina file access change by saagarjha on Wednesday December 18, 2019 @03:20PM (#21828991)
I see zero lies on the page you posted. What's wrong with it?
Re:Undocumented Catalina file access change by thenewnewguy on Wednesday December 18, 2019 @03:17PM (#21828953)
> This is also why if you access a website with a self-signed certificate, the browser will not give you a “yes” button to go through. You have to jump through a few hoops somewhere else (depending on browser) to accept the self-signed certificate, and then you can see the site.

The button doesn't say "yes", but at least on FF there's a way to bypass the warning with one or two clicks from the error page itself. I think you might be confusing this with HSTS, where a certificate failure on an HSTS-enabled website will not let users bypass the warning (and for good reason).

Re:Undocumented Catalina file access change by klodolph on Wednesday December 18, 2019 @05:08PM (#21829987)
I'm not confusing this with HSTS. I'm being a bit vague because the UI is different for each browser. It used to be that you could just press one or two buttons, but these days the necessary buttons are usually either hidden, or in a separate settings page.
Re:Undocumented Catalina file access change by thenewnewguy on Wednesday December 18, 2019 @06:30PM (#21830594)
I just checked and it's one or two clicks on the same page (i.e. not a different location) for FF and Chrome. Maybe it's different in Safari (as we are talking about MacOS here), but I haven't used in so long for me to know.
Re:Undocumented Catalina file access change by mclehman on Thursday December 19, 2019 @04:50AM (#21833431)
At least recently, HSTS failures could still be bypassed if you really wanted to (if, say, you made the bad choice of using the .dev tld for private domains). It's just completely undiscoverable for good reason.
Re:Undocumented Catalina file access change by strig on Wednesday December 18, 2019 @03:04PM (#21828793)
UAC is even more useless, it just tells you "Do you want to allow xyz to make changes to your computer", without telling you what any of those changes or permissions are. Android permission prompts are way better.
Re:Undocumented Catalina file access change by gruez on Wednesday December 18, 2019 @03:41PM (#21829191)
>UAC is even more useless, it just tells you "Do you want to allow xyz to make changes to your computer", without telling you what any of those changes or permissions are.

The UAC prompt is essentially "sudo" - it grants root to whatever program is running. You really can't really implement a more granular permissions system without significant engineering effort, because you need to ensure that granting one permission doesn't result in privilege escalation. For instance, granting permissions to modify Program Files/Windows directory can be abused to get steal permissions from other applications, by replacing existing executables with malicious ones.

>Android permission prompts are way better.

Not really comparable because "regular" Windows programs aren't sandboxed. So they kinda already all the android "permissions" already (eg. contacts - they can simply read off disk). A better comparison would be root, which essentially has the same ux as Windows UAC.

Re:Undocumented Catalina file access change by chx on Wednesday December 18, 2019 @02:05PM (#21828092)