Identifying users who are sharing
For network sharing you could do following in Terminal.

Assuming you have the file sharing enabled.

Applications using a file reference to your computer can mount a remote disk automatically, as long as the computer is on the network. A command like

netstat -na | grep 548


will list what machine and user is connected by AFP.

If you simply type netstat it will list all active connection.