PCbanter

PCbanter (http://www.pcbanter.net/index.php)
-   Networking and the Internet with Windows XP (http://www.pcbanter.net/forumdisplay.php?f=37)
-   -   Enable file/printer sharing in home wlan only, disabled in otherwlans (http://www.pcbanter.net/showthread.php?t=1066687)

Tomi Lehto March 1st 10 10:06 PM

Enable file/printer sharing in home wlan only, disabled in otherwlans
 
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

Jack [MVP-Networking] March 3rd 10 01:48 AM

Enable file/printer sharing in home wlan only, disabled in other wlans
 
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).



"Tomi Lehto" wrote in message
...
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



Jack [MVP-Networking] March 3rd 10 01:48 AM

Enable file/printer sharing in home wlan only, disabled in other wlans
 
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).



"Tomi Lehto" wrote in message
...
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



Tomi Lehto March 4th 10 10:27 AM

Enable file/printer sharing in home wlan only, disabled in otherwlans
 
On 3 maalis, 03:48, "Jack [MVP-Networking]"
wrote:
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

Tomi Lehto March 4th 10 10:27 AM

Enable file/printer sharing in home wlan only, disabled in otherwlans
 
On 3 maalis, 03:48, "Jack [MVP-Networking]"
wrote:
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


All times are GMT +1. The time now is 10:08 PM.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 2004 - 2006 PCbanter
Comments are property of their posters