If you are on a network and have file sharing turned on, all anyone else that is on that network has to do is to log in as you and use your password and they can connect to your computer or external hard drive.
This allows anyone who knows your password to connect to your personal computer.
Hope this helps