Turn off file sharing when not needed

File sharing allows you to open a file from one device that’s located on another device on the same network. You should only enable file sharing when on a home or private network. Beyond that, consider creating a file folder specifically for file sharing to avoid exposing your entire drive to anyone on the network.