This is like saying "if you want to have safe sex, put a condom on and never have sex."
Devices should have ACLs in place at the file system level, be encrypted without proper credentials, and deny access from unspecified locations.
Deny all and allow only what's specified.