…by physically removing a port (who would do that) or using the software?

    • JustEnoughDucks@slrpnk.net
      link
      fedilink
      arrow-up
      8
      ·
      1 个月前

      Sony, in their infinite wisdom, defaults full data without the ability to choose a default, you can only deny upon plugging it in and it will eventually revert back to full data anyway

    • Ferrous@lemmy.ml
      link
      fedilink
      English
      arrow-up
      3
      ·
      1 个月前

      This is the best strategy.

      However, if you ever knew youd NEED to use public charging, check out USB condom adapters. They open circuit the data pins.

  • BCsven@lemmy.ca
    link
    fedilink
    arrow-up
    7
    ·
    edit-2
    1 个月前

    The software locks out the auto discover and auto config of attached devices, unless they are in an allow list.

    Same like some android phone models where you can turn off USB port to protect your phone from being infiltrated.

    I did work at a place that filled the USB ports with HotGlue to stop workers loading movies on the computers on night shift

      • BCsven@lemmy.ca
        link
        fedilink
        arrow-up
        4
        ·
        1 个月前

        Yes because the keyboard and mouse were via the serial PS connectors, but the IT dudes could have just opened the case and unplugged the USB headers instead of permanently filling the slots with glue.

  • Matt@lemmy.ml
    link
    fedilink
    arrow-up
    3
    ·
    1 个月前

    GrapheneOS allows you to disable it. I just charge mine wirelessly, though if the charger supports MagSafe, then you’ll need to buy a MagSafe case for your Pixel, since built-in magnets are waaay too weak.

    • xvertigox
      link
      fedilink
      arrow-up
      1
      ·
      1 个月前

      When I plug a USB device in on KDE I get prompted to see if I want to mount it or not.

      • hexagonwin@lemmy.today
        link
        fedilink
        arrow-up
        4
        ·
        1 个月前

        the usb device is auto detected and activated, it’s just asking you to mount if it happens to be a storage device

        • xvertigox
          link
          fedilink
          arrow-up
          1
          ·
          1 个月前

          That’s true, I understand the need for USBGuard now.

      • ell1e@leminal.space
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 个月前

        I think to be fully safe, you would have to get prompted for any type of USB device including a mouse and keyboard. At least I think that’s the idea of USBGuard.

    • utopiah@lemmy.ml
      link
      fedilink
      arrow-up
      1
      ·
      1 个月前

      Be mindful that such a program would have to be safer than the situation without. A program on a public repository that isn’t used by any distribution, isn’t audited, hasn’t a lot of comments (and thus eyes on its code) might be a disproportionate risk compared to the default settings of a popular open source distribution IMHO.

      • vaionko@sopuli.xyz
        link
        fedilink
        arrow-up
        1
        ·
        1 个月前

        I never leave my laptop unsupervised, I’m more concerned about it getting stolen than malicius USB devices. And if someone gets to my desktop while I’m not looking, I’ve got bigger problems.

  • Samsy@lemmy.ml
    link
    fedilink
    arrow-up
    3
    arrow-down
    3
    ·
    1 个月前

    Do you protect your USB port?

    Sure, I’ve got my HPV vaccination.