V
V
Viktor2015-02-09 00:36:36
linux
Viktor, 2015-02-09 00:36:36

Remote access to VPS files via SMB protocol (SAMBA) - how secure and can it be used?

Discovered Samb'y . This is a thing to be said.
You can simply mount the desired directory of the linux server in the standard windows explorer. With the preservation of all user rights.
Also, for example, file sharing via Samba from a local virtual machine is 7-10 times faster than via SFTP.
Checked - copying a file from the host system to the virtuac via SFTP 12 meg/sec, via SMB 90 meg/sec. This makes me happy.
Naturally, I wanted to use Samba as the main tool for sharing and working with web project directories on a remote server (VPS linux).
In this regard, the question is: what about security in SMB? Good, or like FTP?
Or is it worth using only SFTP, without options?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Armenian Radio, 2015-02-09
@gbg

SMB transmits data without encryption. So it's bad for her security.
But this option is allowed - to skip smb traffic inside the SSH tunnel.
But with the speed you have something strange, since files can be transferred via ssh almost at the speed of a physical connection, although encryption will be weakened.

V
Vlad Zhivotnev, 2015-02-09
@inkvizitor68sl

If via VPN (only connect to the internal vpn address of the server, and not to the external one), then everything is ok.
If samba listens to external interfaces, then this is a historical security hole.
Well, transferring data via smb over the Internet is like transferring them via http. Anyone can intercept and read them.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question