I was successfully able to share an external hard drive between my mac and Windows machine over wifi by enabling file sharing in the Windows properties of the selected drive (see method HERE). What I have discovered is that by doing this I have created a security risk by opening the following ports:TCP 139, 445UDP 137, 138(see description of security issue HERE)

What I need to know now is this: How do I enable this file sharing securely so that there are not constant brute force attacks on this port?

Running Windows7 64 bit

    Assuming this is your home network and you have the typical router/firewall combo that comes with the service, then you are safe. Those ports are open on the internal LAN, but not accessible through the internet. Those ports are blocked by default.

    • i am on a home network that is password protected,but was concerned because of that article I posted in my 2nd link. I had problems last year when trying to share my screen over my home network. Thousands of brute force attacks everyday trying to get in.– Kalamalka KidJan 14 at 2:08
    • @KalamalkaKid Everyone gets brute force attacks. Thats the norm in todays world. Hacker bots scan IPs and see open ports and try to get in. Thats the way it goes.– KeltariJan 14 at 2:10
    • that's what I thought. So its not secure then. I am still looking for a secure way to share a drive on my home network between 2 computers. ALso your last statement contradicts your answer.– Kalamalka KidJan 14 at 2:30
    • You don't mention how you were sharing your screen but enabling file sharing, only allows devices within your own network, access your files.– RamhoundJan 14 at 2:41
    • @Ramhound i used the past tense, as in I HAD BEEN (past tense) using screen sharing but disabled it after seeing the amount of brute force attempts daily. Cheers– Kalamalka KidJan 14 at 5:35

    Your Answer


    By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

    Not the answer you're looking for? Browse other questions tagged or ask your own question.