News for hackers. Stuff that matters.
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.