7

Is it possible to set up sharing on just one network card? I want to share a folder or two only on my wired connection, but not my wireless connection.

I couldn't find any resources online to do this, and I'm wondering if there might be some sort of firewall configuration to do this.

3
  • If you run Samba on Windows you can limit which IP addresses it listens on: smithii.com/samba Commented Nov 17, 2011 at 0:37
  • I would try this, but it's currently not an option. Commented Nov 17, 2011 at 1:07
  • This had to be crossed off my list. Too bad samba is even more of a risk than sharing files across all interfaces and wireless when the goal is to share through a single ethernet link to the other computers.
    – SDsolar
    Commented Jun 2, 2018 at 16:01

1 Answer 1

10

Open Control Panel, and then Network And Sharing Center. Go to Change Adapter Settings. Right-click the network adapter for which you do not want to share files, and choose Properties. Uncheck File and Printer Sharing. That will disable that service for that network card while leaving it enabled for others.

4
  • 1
    You're welcome. Just an old trick from the Dial-Up Networking days of Windows 9x. Commented Nov 17, 2011 at 14:35
  • 1
    I just want to point out that this is a drastic solution that doesn't work when one wants to share some folders over one of the network interfaces and some other folders over some other network interface.
    – HASM
    Commented Jul 9, 2014 at 17:34
  • 1
    But that's not what OP asked. Commented Jul 10, 2014 at 0:23
  • This is precisely what I needed to be reminded about. This will allow me to share with other PCs while not worrying as much about the WiFi interface. Thank you from June 2018.
    – SDsolar
    Commented Jun 2, 2018 at 16:53

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .