Remix.run Logo
crazygringo 7 hours ago

> people will figure that out and adapt for themselves

No they won't. People on HN will. Not the average person.

> Security-wise, the sandbox should limit damage to within the browser

The problem is, arbitrary code execution vastly expands the risks. Your "should" is doing all the work there.

> Standardization, eh? Forcing Safari on iOS and not making it available on the mass market platforms

Huh? Apple follows web standards. Why the heck should it make Safari available on Android and Windows? Safari isn't a standard, web standards are.

leptons 6 hours ago | parent [-]

>> people will figure that out and adapt for themselves

>No they won't. People on HN will. Not the average person.

Yes they will, Apple has made it very easy to see.

To check iOS app power usage, go to Settings > Battery, where you'll see a breakdown of battery consumption by app for the last 24 hours or 10 days, showing usage time and background activity, allowing you to identify power-hungry apps and manage settings like Background App Refresh to improve battery life.

So yeah, it's easy to see which app is taking the most power, and users can do this easily, unless you think Apple's UX is so bad that users won't know how to read it?

>The problem is, arbitrary code execution vastly expands the risks. Your "should" is doing all the work there.

If that's a problem for web browsers, then it's a problem for every single app in the app store. There's nothing really unique about a web browser app that makes it more risky than any other app. Javascript is already very much sandboxed. And there have been plenty of exploits that already target Safari. So saying other browsers are the problem is like blaming the victim (of Apple's anti-competitive practices).

>Huh? Apple follows web standards. Why the heck should it make Safari available on Android and Windows? Safari isn't a standard, web standards are.

If web standards are standards, then let other web browsers on iOS.

The real reason Apple disallows other browser engines on Safari is so they can force developers to create native apps where they can get a cut of any purchase made through the app. The problems with Apple's anti-competitive practices have been spelled out in the DOJ lawsuit against them:

https://www.justice.gov/archives/opa/media/1344546/dl?inline

otterley 4 hours ago | parent | next [-]

Apple made it very clear that their security concerns related to third party browsing engines are about difficult-to-contain threats posed by JIT compilation. (JITs require non-text memory pages to be executable.) Apple doesn’t allow other apps to use such technology, so they’re consistent in that respect.

Apple even disables JIT for Safari itself when you put an iPhone in lockdown mode, at no small cost to performance, in an effort to harden the device even more.

Do you have a rebuttal to that?

concinds 3 hours ago | parent [-]

Yes. Safari is a less secure browser than Chrome, architecturally. Took far longer to ship sandboxing. Still hasn't fixed SLAP and FLOP. Still hasn't shipped proper site isolation. Takes far longer to fix reported vulnerabilities, and consistently "fixes" them superficially and incorrectly, requiring another fix.

Enough with the Apple fanboy paternalism. They don't need absolute control "for users' sake". They're not entitled to it.

otterley 3 hours ago | parent [-]

> Still hasn't fixed SLAP and FLOP. Still hasn't shipped proper site isolation.

Those are interesting facts, but are ultimately a red herring. How will enabling JIT for other browser engines, absent the detailed vetting Apple is requiring to provide a Web Browser Engine entitlement, yield a more secure outcome?

> Enough with the Apple fanboy paternalism. They don't need absolute control "for users' sake". They're not entitled to it.

You are, of course, welcome to choose an alternative. If you prefer Android, by all means, use it!

concinds 2 hours ago | parent [-]

The "vetting" is irrelevant because the other engines will continue to not exist. By design.

I am currently forced to use a less secure browser due to Apple's restrictions, which invalidates your original claim. Your skillful dodging of that point is why it's so frustrating to have any conversation about Apple. There really are cult-like aspects.

otterley 2 hours ago | parent [-]

What “less secure” browser are you “forced” to use? And why?

swiftcoder 5 hours ago | parent | prev | next [-]

> So yeah, it's easy to see which app is taking the most power, and users can do this easily, unless you think Apple's UX is so bad that users won't know how to read it?

It's easy to see, but seeing doesn't mean the user will do anything about it. I guarantee that for the average user, their list goes something like Instagram/TikTok/FaceBook/Twitter, and they haven't uninstalled any of those yet due to battery drain...

crazygringo 6 hours ago | parent | prev [-]

> go to Settings > Battery, where you'll see a breakdown of battery consumption by app

And what percentage of users do you think ever check that, or even know it's there to check?

> If that's a problem for web browsers, then it's a problem for every single app in the app store.

No it's not, the app store disallows arbitrary code execution.

> There's nothing really unique about a web browser app that makes it more risky than any other app.

Yes there is -- JavaScript.

> Javascript is already very much sandboxed.

...by Safari. It wouldn't be if you allowed any developer to write their own JavaScript interpreter as part of their own browser.

> If web standards are standards, then let other web browsers on iOS.

That's a non-sequitur.

leptons 3 hours ago | parent [-]

>And what percentage of users do you think ever check that, or even know it's there to check?

It does not matter. The functionality is there. If a user can't figure it out then they have other problems that having a smartphone won't fix for them.

>No it's not, the app store disallows arbitrary code execution.

You mean Javascript interpreters inside a web browser? lol. You mean like Safari is allowed to do? So only Apple can allow Apple apps to do this? I'm not sure you're thinking this through. Apples rule is a made-up rule designed to keep competition out, and force developers to write native apps so Apple can extort the developers by taking a percentage of purchases made through the native app.

>Yes there is -- JavaScript.

That's the dumbest possible argument you could make. Javascript has been very much sandboxed and secure for a very long time. There have been flaws in Safari that allowed remote code execution had nothing to do with Javascript, so good luck moving that goalpost somewhere else.

>...by Safari. It wouldn't be if you allowed any developer to write their own JavaScript interpreter as part of their own browser.

I'm not recommending my users use H@ck0rbR0Ws3R, I'm recommending they use Google Chrome, specifically because it supports the APIs my company needs to use for our product (on Android at least).

Okay Tim Apple, the DOJ is coming for you. You can explain this all to them when they come knocking, and they will.