Sharing files over the network is convenient, but not without risks. If you leave permissions open, anyone on the network can see all of your files, which isn't ideal on large networks. But if you lock things down you'll have to share your Mac's user account with anyone who needs access to the files.
Source: How-To Geek