What protocol is under Windows file sharing, UDP or TCP? TLS?

Gong, Allen 55 Reputation points
2024-06-19T01:53:36.81+00:00

As we all know we can share file on Windows, then what is the transport layer protocol to access this sharing file? Is UDP or TCP? Can we use TLS? Thanks.

User's image

Windows
Windows
A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.
4,984 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,494 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Hania Lian 10,351 Reputation points Microsoft Vendor
    2024-06-19T02:26:00.2366667+00:00

    Hello,

    When sharing files on Windows, the transport layer protocol used is TCP (Transmission Control Protocol). UDP (User Datagram Protocol) is not used for file sharing on Windows. As for TLS (Transport Layer Security), it is not used for file sharing on Windows by default, but it can be configured to use TLS for secure file sharing.

    Best Regards,

    Hania Lian

    ============================================

    If the Answer is helpful, please click "Accept Answer" and upvote it.


  2. Marcin Policht 16,420 Reputation points MVP
    2024-06-19T02:28:17.3633333+00:00

    Current versions of SMB use TCP (over port 445).

    SMB 3.x does not rely on TLS - it has its own encryption mechanism (so effectively it's just as secure as HTTPS).

    More at https://learn.microsoft.com/en-us/windows-server/storage/file-server/smb-security


    If the above response helps answer your question, remember to "Accept Answer" so that others in the community facing similar issues can easily find the solution. Your contribution is highly appreciated.

    hth

    Marcin