Unlike many posters here, I would actually like to disable the ability to browse local network shares and hosts on the local network. through the file manager. In other words, when you click on "network" in the file manager, nautilus, or whatever, I don't want to see anything. This used to be something I had to enable in years past, now it is default.
I've uninstalled network-manager, avahi and samba+samba-common and I still see hosts when I click on the network.
How do I disable this?
A clarification: users need internet access, ok? But I don't want them to be able to view other devices and computers on the local area network. In Windows 7, I could choose "public network", done. This disables file and print sharing as well as the ability to discover other computers in the network 'hood, as it were. Many nixes do not have this enabled by default. How do I disable this in Ubuntu?