One would’ve thought that after looking at modern day computers that being able to run a wire through two computers being able to transfer data quickly, reliably, easily would be a 101 feature these boxes offer.
Back in the day, one could connect a bog-standard FireWire (IEEE 1394) cable betwixt a pair of Windows boxes, and it would create a (quite fast for the time) network for them to talk on.
Addressing was automatic with RFC 3927, and names just worked too.
After that, any appropriately-shared things on one machine would be accessible on the other.
OTOH corporate security gets paged whenever you plug something that isn’t a power supply or a monitor into the corporate box, up to and including an Ethernet cable.
I've seen banks disable USB ports by means of hot glue.
Hardware attacks are super hard to defend against. Depending on your threat model, drastic measures might be warranted. Anything with a USB plug can be a keyboard with an attack payload (e.g. Rubber Ducky). And if you think you can whitelist devices based on USB class or some identifier, you're wrong as they can be spoofed. Heck, there are "USB C cables" that are really attack payload delivery systems (e.g. O.MG Cable).
It’s 2024 and it doesn’t really work!