You might think that your network is secured, but what about a friend's Wi-fi or a public hotspot? Initially when you try connecting to a network Vista asks you whether the network is a Public or a Private one.
Public network is a location is designed to keep your computer from being visible to other computers around you and to help protect your computer from any vindictive software from the public hotspot like a café. Private network is a location type that can be selected by a local administrator for a connection to a network that is not directly accessible by the public, like a home or an office network.
Public should be selected if there is any doubt about the security of that network. To check or change what network Vista has selected or set up, go to the Start → Control Panel → Network and Internet → View network status and tasks. Here you will see a small map of the network you are connected to. Click on the Customize link underneath the internet icon and select Public and click on Next. Enter your password, if required, click Continue in the UAC window, and click on Close to finish.