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

    • JustEnoughDucks@slrpnk.net
      link
      fedilink
      arrow-up
      7
      ·
      26 days ago

      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
      ·
      26 days ago

      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
    6
    ·
    edit-2
    26 days ago

    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
        ·
        25 days ago

        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
    ·
    25 days ago

    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.

      • vaionko@sopuli.xyz
        link
        fedilink
        arrow-up
        1
        ·
        22 days ago

        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.

    • utopiah@lemmy.ml
      link
      fedilink
      arrow-up
      1
      ·
      24 days ago

      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.

  • Samsy@lemmy.ml
    link
    fedilink
    arrow-up
    3
    arrow-down
    2
    ·
    26 days ago

    Do you protect your USB port?

    Sure, I’ve got my HPV vaccination.