• B0rax@feddit.de
    link
    fedilink
    arrow-up
    11
    arrow-down
    1
    ·
    4 months ago

    …do you know what enforces all of that?

    The App store…

    Umm… no? The phone operating system (iOS) enforces sandboxing. You can not run anything outside the sandbox without some exploit, at which point we have a completely new discussion.

    • GlitterInfection@lemmy.world
      link
      fedilink
      English
      arrow-up
      4
      arrow-down
      6
      ·
      edit-2
      4 months ago

      Look up code signing and entitlements. This is a compile-time thing and an App store validation thing.

      Regardless, what are you even arguing?

      All of the sandboxing and entitlements stuff boils down to asking the user for permissions to access the data I described.

      An app designed to look exactly like Facebook or Tik-tok, installed from a nefarious or less secure app store would reasonably expect to access contacts, the mic and camera, the username and password for that app, and a lot of other data that it can send to a server and use in ways that will negatively affect lots of people.