Its very easy because in last few months ago I use internet via cable network. I always care about to protecting my system from outdoor users and network users. Anyway Just done a simple thing and protect your computer from network.
This trick is for LAN users.
Just go to your lan (Local Area Network). Right click and go to properties.
Code:
This Connection uses the following items
Uncheck 1st both
Clients for microsoft networks
File and printing sharing for microsoft networks.
Uncheck both and click okay.
Thanks it you are done..
Its will disable your sharing and deny others to access your system via network.