In my own little slice of the internet, I have a share that I want to serve up so I can mount it on my system at home and work with files as if they were local. I have this setup as a Samba share at the moment. However, I'm not entirely sure on how to go about keeping this setup secure. What is the recommended way to secure this setup?
Right now I'm thinking to (obviously) require a username and password and open up the relevant ports, but how does one set this up so that the password isn't transmitted in the clear? Is there something like a "Samba over SSH" protocol? Thanks.