Block Users from Seeing or Connecting to Other Wi-Fi Networks

| | No TrackBacks

There's a powerful utility, netsh, that can perform a number of useful administrative tasks. You can prevent users from accessing other Wi-Fi networks, thus hardening the security: unauthorized connection to such networks can result in an uncontrolled data leak.

The technique mentioned will work in Windows Server 2008 or Vista. To see the list of enabled filter, run the following command:

netsh wlan show filters

You can block an unwanted connection to outer network by creating a filter, the syntax is:

netsh wlan add filter permission={allow|block|denyall} ssid=NETWORKNAME networktype={infrastructure|adhoc}

The 'denyall' value doesn't require a ssid parameter. It allows to block all infrastructure or adhoc networks, but retain explicitly the ability to connect to other networks.

To remove an existing filter run this:

netsh wlan delete filter permission={allow|block|denyall} ssid=NETWORKNAME networktype={infrastructure|adhoc}

(just use the same parameters used when creating a filter).

Finally, to either hide or display the blocked networks on the Connect to a Network dialog, run this:

netsh wlan setblockednetworksdisplay={show|hide}

'hide' value can be most useful in most cases.

No TrackBacks

TrackBack URL: /blog/mt-tb.cgi/10

blog comments powered by Disqus

About this Entry

This page contains a single entry by Konstantin Boyandin published on December 2, 2009 5:27 PM.

Enabling Recycle Bin for network resources was the previous entry in this blog.

Switch Off Internet Explorer Enhanced Security In Windows Server 2008 is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.