• GlitterInfection@lemmy.world
    link
    fedilink
    English
    arrow-up
    3
    arrow-down
    22
    ·
    edit-2
    9 months ago

    …do you know what enforces all of that?

    The App store…

    Specifically it limits what APIs can and can’t be used by apps and forces the use of entitlements to access features of the hardware.

    Downvote if you want, but entitelements are part of the code signing process which this article is trying to avoid. And jailbroken apps already don’t have the protections you’re talking about.

    It’s not uncommon for people to datamine not public API all over Apple’s frameworks and the only thing preventing the usage is App Store policies and static analysis tools.

    • B0rax@feddit.de
      link
      fedilink
      arrow-up
      10
      arrow-down
      1
      ·
      9 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
        3
        arrow-down
        6
        ·
        edit-2
        9 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.