brewedbits.dev

Personal blog with guides and news on selfhosting, Linux and AI, from the Netherlands

nextDash nextdash --aboutYour bookmarks. Your terminal. checks your links knows your Docker host one container, no cloudLive demo →nextdash.cc ↗

Tip: set AirDrop to Contacts Only, and let strangers send you a code

macOS
~/tips/tip-macos-airdrop-contacts-only-codes

Control Center > click and hold AirDrop (or click the arrow next to it)

Keeps AirDrop closed to strangers, who can still send you something with a one-time code.

Leaving AirDrop open to everyone on a busy train is asking for random pictures from people you’ve never met. I keep my Mac on Contacts Only, and recent versions of macOS make that a lot less annoying when someone outside your contacts does need to send you something.

You set who may send you items from Control Center in the menu bar:

Control Center > click and hold AirDrop (or click the arrow next to it)
  > Contacts Only

The other choice is Everyone. The AirDrop icon turns blue when AirDrop is on.

The part I like is new in macOS 26.2 (and iOS 26.2 and iPadOS 26.2). When someone who isn’t in your contacts tries to send you a file, they have to use an AirDrop code. Say a colleague at a meetup wants to send you a PDF. You choose Continue, click Get AirDrop Code, read the code out, and they type it in on their device. After that the two of you can AirDrop each other for 30 days without another code.

The caveat is that those 30 days are easy to forget. If you’d rather end it sooner, open the Contacts app, find the person in the Other Known list and choose Forget This Person. Also keep in mind where things land: on a Mac, some received items go straight into your Downloads folder, and items sent between devices on your own Apple Account are accepted automatically without a prompt.

Further reading: Use AirDrop on your Mac (Mac User Guide)

More macOS tips System Settings > Accessibility > Hover Text > When using the pointer A Smart Folder in Notes collects notes by tag, checklist or date Type # in a Mac note to tag it, then filter by tag in the sidebar tmutil isexcluded ~/Projects/app/node_modules Crop an image in Preview by dragging a frame and clicking Crop All macOS tips (99) All topics

Link