Samba SMB Encryption - How safe is it?

You could see the Encryption in SMB 3.0: A protocol perspective and Encryption in SMB3 for technical details, but I think the fact that Azure Files allows mounting over the Internet using (only) SMB3 is a sign that Microsoft thinks it's secure.


But I wondered if I could access this shared drive over the internet since I also use a Win10 PC at school.

Samba is a file and print sharing service, i would NEVER ask it to do encryption. If you want to encrypt information between you and Samba (wise choice), i would advice creating an SSH tunnel from your school computer when you are using a public network to the Samba machine.

Their is alot of good explanations on what an SSH tunnel is, how to setup and when to use, and it is designed to do encryption of information between two endpoints, that is what SSH does.

Examples on what SSH tunnel is

  • https://www.youtube.com/results?search_query=what+is+ssh+tunnel
  • https://www.youtube.com/watch?v=zlv9dI-9g1U

How to make a Windows SSH tunnel

  • https://stackoverflow.com/questions/4974131/how-to-create-ssh-tunnel-using-putty-in-windows

Also write what operating system the machine that runs Samba is installed with. Ubuntu, Fedora, Windows something else? So people can give you the best answers possible.

How strong is SSH encryption?

Strong and secure enough for even goverments to use it.