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

Gong, Allen 100 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 for business Windows Server User experience Other
Windows for business Windows Client for IT Pros User experience Other
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Anonymous
    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 49,640 Reputation points MVP Volunteer Moderator
    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


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.