1

I have a MacBook Air (macOS 12.6.7) that I travel with and use in public places. Is there a way to prevent a USB drive (or any other external physical network connection via cable) from becoming operational (able to execute something via a connection to my Mac)? At least without requiring my password?

I've tried Google searched on this but the best I can find is anti-virus software. Maybe that's enough, but I thought it would be nice to prevent a potential infection in the first place by blocking the connection.

6
  • 2
    Run as a non-admin. Nothing can get installed unless you enter an admin password
    – Allan
    Commented Jul 19, 2023 at 1:18
  • You could also just never connect anything. Disable WiFi, and don't plug in an ethernet cable to an adapter. Don't plug in a USB drive you don't have control over. If you have portable USB drives with important data, you should create an encrypted drives which requires a password to mount. Note: the encryption requires you reformat the external drive.
    – IconDaemon
    Commented Jul 19, 2023 at 1:37
  • @Allan that seems to be the best answer and kind of obvious.
    – user766353
    Commented Jul 19, 2023 at 20:27
  • Go ahead and type it up as an answer and ping me here in comments so I can upvote.
    – Allan
    Commented Jul 19, 2023 at 20:57
  • @Allan done, thanks for helping.
    – user766353
    Commented Jul 21, 2023 at 0:56

1 Answer 1

1

The easiest, most obvious answer was suggested in the comments to the question: Create and use a non-admin user when in situations that could be unsafe so that any physical connections made to my laptop would be unable to install or transfer anything without requiring an admin password.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .