by quenix · 5y ago · 0 comments
Apps shouldn’t be able to read my entire hard drive unless I give it permission. And the core OS should be immutable.
Also not sure what you’re talking about. Custom mouse drivers of course still work.
I had Firefox, Thunderbird, Pidgin and a few others running in complete isolation from the base system, and from each other. I even had a separate Firefox jail that was only allowed to get out via a Tor socks proxy to avoid leaks (more of an experiment than a necessity, to be fair).
Communication between jails was done via commonly mounted nullfs. I have also setup QoS via PF for each of them.
They were all running on the host’s Xorg, which was probably also the weakness of this setup.
It was a pretty sweet setup, but required quite a bit of effort to maintain, even tho I automated most of the stuff.
Now I use macOS, and I would like more control over what apps do what. I’m not particularly impressed with the direction of the UI (it also doesn’t bother me terribly), but I welcome the finer grained security control.
References:
[0]: https://en.wikipedia.org/wiki/FreeBSD_jail
[1]: https://www.freebsd.org/cgi/man.cgi?query=jail&sektion=8&for...
For one thing: I always require certificate logins on SSH. On Mac I used to simply change /etc/ssh/sshd_config to this effect, but since Catalina macOS reverts this with every update. Clearly they don't want me poking around in there :(
IMO if you offer SSH you should offer certificate-only access as well, either with a glitzy on/off button or with a config file change, whatever. But nope...
With Apple you get a lot of security for 'free', however you give up a lot of customisation in return, even in terms of security features.
The resistance to them seems to be largely due to lazy developers: it would be EASIER if the system let a developer do whatever they want with a “trust me, I’m smart” justification. But we can’t design for the occasional safe and smart developer: we need to design for the sloppy ones and the malicious ones. The smart and safe ones can find a way to work within the constraints. As for lazy and sloppy ones who can’t adapt to the constraints - adapt.
OS security is generally a shit show anyway. I don't think it's bad to lock down the OS for most users, but it should still be possible for expert users to get expert access.
If there are security consequences, they should be trusted to learn how to deal with them.
Most will - and the rest will have bad experiences.
Unix file access permissions designed 50 years ago for multi-user shells are not adequate when dealing with potentially hostile applications accessing your data.
Today I'm more worried of a random App encrypting $HOME or hoovering up all my PII.
Now if some people just give access to everything instead of using ACLs, that is another matter.
I've been trying unsuccessfully to childproof a Big Sur laptop for a 12 year old for some time now — disable access to some built-in apps etc. I have yet to figure out how, without resorting to disable SIP.
There is Screentime, but that's an unreliable joke which has caused us a massive amount of headaches on iOS due to unreliability, has very limited features and can only be protected by a 4-digit PIN.
Now how do I turn off the dozens of daemons that go everywhere on the internet without my control, uploading telemetry, etc? I've still not figured out how.
I’m not saying it’s bad. More security is great! My kids use MacOS. I’m grateful for it. I love iOS too. But it’s absolutely dumbing the OS down and making it less of a professional machine.
- docker - you need to be able to bind any folder
- IDE - you need to be able to edit basically anything
- office software beyond "I have some things in 'Documents'" - same
- python, ruby, any other interpreter - same
- brew, or any other package manager - same
etc. This simply doesn't work well for many developer workflows. I tried to use a dedicated app for per-app security control like that (can't remember the name anymore) - but for development it was a disaster. It just makes you click "allow" on a popup 10 times a day until you stop paying attention. Now, macos is not at that level yet, but the direction towards that is the complaint usually.
..and, office?! Do you keep spreadsheets in system folders?
This is actually a feature I wish Windows had. On Windows you can enable "protected folders" and mark folders as protected. Applications cannot access those folders until you grant it.
On Windows when granting an app permission to a protected folder you grant it access to all of your protected folders.
You cannot grant a specific application access to a specific folder only eg. grant VLC access to your video folder only but will have to grant VLC permission to all your protected folders. In the default configuration this includes all your personal documents.
I wish Microsoft would make the protected folder feature just as granular as I can hear it is an a mac.
I'm tired of granting every other app accessibility permissions for reasons I'm not even sure of, tired of having to grant access to my documents. It's just endless hassle and I don't feel like I'm actually safer. Every new version seems to bring something like this.
The important part is that system integrity protection can be disabled.
- scroll bars have been removed (but they can be enabled again), not sure when this happened, Catalina maybe?
- Ok/Cancel style dialog boxes are vertically stacked (since Big Sur)
- the completely intuitive "Save As..." action has been replaced with "Duplicate" (at least in Apple tools), no idea what's the reasoning behind this is TBH, this wouldn't make sense on iPhones either
- more vertical space wasted for window chrome since Big Sur, especially in the Finder
- "Natural Scrolling" (can also still be reversed thankfully)
- ...and probably a few more subtle changes which I don't care much about
I am a long-time Unix user, hardly an iOS user at risk of feeling lost on Macs, and while I have immediately turned back on my scroll bars, I was delighted by "natural scrolling," and I love that "Duplicate" makes it more clear that my documents are being auto-saved, as they should be.
These things aren't "dumbing down," they're just changes from the way things used to be. Some are better, some are worse, and both of those are opinions. I think labeling them as "dumbing down" and sneering dismissively at people who use iOS is unseemly, speaking of opinions.
But seriously: What you call "dumbing down" I'd mostly rather call "making peoples' lives easier".
If I had to guess, it's because Apple wants to remind you they already have your data in their cloud, so saving anything locally is creating a duplicate.
But yeah the waste of more vertical space in Big Sur was really surprising to me, considering Apple also tries to minimise it in other apps like Safari. Weird.
> scroll bars have been removed
Awesome! Less clutter. I only care about my position in a list or its length when I actually scroll.
> Ok/Cancel style dialog boxes are vertically stacked
Looks sightly weird, but it enlarges click targets and makes a crucial dialog easier to see and use. I guess that makes sense.
> more vertical space wasted for window chrome
I generally like the new style, but yeah, they went over board here 1/3 or 1/4 less height would be about optimal.
> Natural Scrolling
Why would you move your finger against the direction in which you're scrolling?
I do have it disabled on my mouse, so I can more easily flick it to navigate down pages.
Sort of. When the the scroll bar (thumb) is the thing that you want to grab in order to scroll though — where is it?
Because I'm scrolling *down* to reveal new content towards the bottom of the screen. Why should I move my finger "up" if I want to scroll "down" ;)
For touch screens it makes sense, no doubt, but for touchpad and mouse it's debatable. It's clearly a personal preference though, I just hope they never remove the settings option.
Except when you don't realize there is more content to be scrolled in any direction including left and right because there is zero indication.
> Why would you move your finger against the direction in which you're scrolling?
It makes absolutely no sense with a scroll wheel and yet, by default it's on for them.
Does it fail to work properly on Intel Macs? All of my x86 Macs are far too old to try Big Sur.
EDIT: Oh, I see -- first-party Apple apps can stream unlimited data, tracking your activity. Egads...