Enable file/printer sharing in home wlan only, disabled in otherwlans

  • Thread starter Thread starter Tomi Lehto
  • Start date Start date
T

Tomi Lehto

Hello group,

I've been wondering if it is possible to quickly enable or disable
windows shares (directories and printers) depending on if I am on a
home wlan or other wlans (school).

Since the network can be the same (192.168.x.x) in many places, static
setting in software firewall is not enough, although I could manually
enable or disable a firewall rule depending where I am.

What I am thinking is a way to programmatically detect if Windows is
in my own wlan (via ssid) and then disable sharing in windows, so
firewall could be left alone. Alternatively the firewall could do this
as well but at least in F-Secure and Comodo firewall I am using on my
computers do not have anything like that.

Thanks,
Tomi
 
Hi
It is Not a big deal to Right click on the folder choose the sharing and
Uncheck the sharing Box.
But it is crude way that in the long run might confuse the whole system.
I switched Off the public sharing on my laptop and all the other sharing I
protect with Password.
Thus if some one tries to log on he/she goes nowhere.
Jack (MS, MVP-Networking).
 
Hi
It is Not a big deal to Right click on the folder choose the sharing and
Uncheck the sharing Box.
But it is crude way that in the long run might confuse the whole system.
I switched Off the public sharing on my laptop and all the other sharing I
protect with Password.
Thus if some one tries to log on he/she goes nowhere.
Jack (MS, MVP-Networking).

Thanks for your reply,

I think switching all different shares manually on and off every time
not only might confuse the system but would also get tiresome after a
while.
I guess disabling public sharing and protecting the shares with
password is the way to go.

Tomi
 
Back
Top