How to configure Windows Firewall with an Exception 

Let's say you have a home network and you want to allow one or more of the computers on the network to access files, but you don't want all the computers on the network to be able to do so. Setting user account permissions on the files and folders won't work if it's connections from specific computers, rather than specific users, that you want to block. However, you can use the Windows Firewall to do it. Here's how:
    1. Click Start | Control Panel | Security Center.
    2. Select Windows Firewall.
    3. Click the Exceptions tab.
    4. Check the box for File and Printer Sharing. At this point, by default all the computers on the subnet will be able to access the file shares.
    5. With File and Printer Sharing highlighted, click the Edit button.  
    6. For the associated ports, click the Change Scope button.
    7. Click the Custom List button.
    8. Enter the IP address(es) of the computer(s) that you want to allow access.
    9. Click OK.

    Note that you can also use this feature to allow access to all computers, even those on the Internet (NOT recommended).

    RETURN TO TIPS AND TRICKS PAGE

    INFORMATION PROVIDED IN THIS DOCUMENT IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND FREEDOM FROM INFRINGEMENT. USE AT YOUR OWN RISK!