Apparently apps now need the “Nearby devices” permission to be able to access sites hosted on your local network. I just spent forever trying to figure out why firefox wouldn’t load my local nextcloud instance. Hopefully this post saves someone else that pain. Local network permission in Android 17

  • 51dusty@lemmy.world
    link
    fedilink
    English
    arrow-up
    24
    ·
    9 hours ago

    100%

    IMO, “nearby devices” is bad wording and the icon is the same one as NFC, IIRC.

    on my laptop it’ll say something like “local network” which is more intuitive.

    • ten8tp@reddthat.com
      link
      fedilink
      English
      arrow-up
      5
      ·
      7 hours ago

      Apple does this regarding a popup requesting access to the local network. It saying “nearby devices”, for me, is a big no thanks.

      OTOH, once you allow it for your phones browser, it’s presumed any site that sends a request triggering access would automatically be granted it.

      Time for a separate browser to use for local-only access?

      • Natanael@infosec.pub
        link
        fedilink
        English
        arrow-up
        3
        ·
        7 hours ago

        Browsers should be smart enough to limit websites with their own permissions dialog to control what can access local stuff or not

        • Ghoelian@piefed.social
          link
          fedilink
          English
          arrow-up
          3
          ·
          5 hours ago

          If you add some cors headers browsers will literally refuse to make requests to that uri from other origins.