FTP and security
Moderators: Hacker, petermad, Stefan2, white
FTP and security
Until recently, I wasn't much security-aware when it came to FTP. I admit this was probably the last protocol I started "securing". Can someone please explain me what the main differences between the following are:
-using the SSL/TLS checkbox in FTP stored session;
-SFTP plugin mentioned in the forums;
-or using WinSCP instead of TC for secure FTP transfers.
(In terms of security, encryption, etc.)
-using the SSL/TLS checkbox in FTP stored session;
-SFTP plugin mentioned in the forums;
-or using WinSCP instead of TC for secure FTP transfers.
(In terms of security, encryption, etc.)
Re: FTP and security
Here is how I see it.commodore wrote:Can someone please explain me what the main differences between the following are:
-using the SSL/TLS checkbox in FTP stored session;
-SFTP plugin mentioned in the forums;
-or using WinSCP instead of TC for secure FTP transfers.
(In terms of security, encryption, etc.)
You can use two methods for secure transfers with Total Commander:
- FTPS - using the SSL/TLS checkbox in FTP stored session
- SFTP - using the Secure FTP plugin (or other plugin) accessible via Network Neighborhood
FTPS is an enhancement of the FTP protocol to support secure transfers (like https is an enhancement of the http protocol for secure http communication). When using FTPS, you are using the (enhanced) FTP protocol. So working with FTPS is working with FTP connections. You use it the same way as any other FTP connection.
SFTP is NOT an enhancement of the FTP protocol. It is completely different. It stands for SSH File Transfer Protocol. It's an extension of SSH to provide file access, file transfer, and file management functionality over SSH. So FTP(S) and SFTP are different things although there functionalities overlap.
In Total Commander SFTP functionality can be added by installing a file system plugin accessible via Network Neighborhood. So SFTP connections are managed separate from FTP(S) connections which probably makes it harder for people to use.
WinSCP provides SFTP and FTP functionality. Whether you want to use WinSCP or Total Commander (with plugin), is up to you. Using Total Commander you can use the full power of Total Commander. Note however that the Secure FTP plugin by Christian Ghisler is still in beta stage. Although it works quite nicely already, there hasn't been a final release yet. WinSCP has been around for quite some time. FTP connections and SFTP connections are not saved separately, but managed in a combined list containing both FTP and SFTP connections. WinSCP is open source and has other features you may like.
-
- Member
- Posts: 134
- Joined: 2007-06-25, 11:54 UTC
Coincidently, I am having a trouble to upload files to ftps using tc so I'll just post it here.
I could connect to the ftps, its just I'm unable to upload anything to the server, though it works just fine with filezilla. I already tried with passive mode but that made no different. So any idea what's wrong here?
I could connect to the ftps, its just I'm unable to upload anything to the server, though it works just fine with filezilla. I already tried with passive mode but that made no different. So any idea what's wrong here?
- ghisler(Author)
- Site Admin
- Posts: 50824
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
I had the same problem recently with PureFTPd, but only for a short time - it seems that it was fixed in the meantime. Maybe it helps to update your server if you use PureFTPd too. The problem was that the server expected that the SSL data connection was negotiated before sending the STOR command, but if that was done, the client would hang if the upload was refused.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
REMOVED BY MOD
[mod]This post is a fake copied on the Web. Contains removed.
Clo, moderator[/mod]
Clo, moderator[/mod]
-
- Member
- Posts: 134
- Joined: 2007-06-25, 11:54 UTC
I can't seem to use Secure FTP (from the plugin via \\\Secure FTP\) -- this is the dialog box that I get:
Image: http://dl.dropbox.com/u/5070709/forum_posts/Image1.png
However, the required files are in the plugin's folder. These are the files in the plugin's folder (c:\Program Files\totalcmd\plugins\wfx\sftp\):
libeay32.dll
libssh2.dll
libssl32.dll
pluginst.inf
readme.txt
sftpplug.wfx
Any ideas what could be wrong?
Image: http://dl.dropbox.com/u/5070709/forum_posts/Image1.png
However, the required files are in the plugin's folder. These are the files in the plugin's folder (c:\Program Files\totalcmd\plugins\wfx\sftp\):
libeay32.dll
libssh2.dll
libssl32.dll
pluginst.inf
readme.txt
sftpplug.wfx
Any ideas what could be wrong?
- ghisler(Author)
- Site Admin
- Posts: 50824
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Try putting them in the Total Commander directory. If this doesn't help, you should try to get newer versions of the dlls, e.g. from the libcurl package as described in this thread:
http://ghisler.ch/board/viewtopic.php?t=19994
http://ghisler.ch/board/viewtopic.php?t=19994
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Funny, it seems to "randomly" work -- I haven't been able to establish a pattern yet. It worked soon after updating to 7.55 yesterday (without moving the DLLs), then again today when I wanted to connect to a regularly saved FTPS (not SecureFTP) I received a dialog box about needing the DLLs in TC's root directory (I moved them there afterwards, but they were never requested for FTPS before).
And a few minutes ago, I received the same dialog box as described above. Closing and starting TC did the trick. Maybe FTPS and SFTP are "fighting" somehow (i.e. after using one, the other one won't work until restart).
And a few minutes ago, I received the same dialog box as described above. Closing and starting TC did the trick. Maybe FTPS and SFTP are "fighting" somehow (i.e. after using one, the other one won't work until restart).
Nah, I tried consecutively an FTPS connection and an SFTP -- both worked fine this time around.
One funny thing is -- when SFTPing to my shared hosting account, I will be put into the server's root directory and not inside my home directory (as it is with FTP, FTPS, and on WinSCP in any supported mode).
One funny thing is -- when SFTPing to my shared hosting account, I will be put into the server's root directory and not inside my home directory (as it is with FTP, FTPS, and on WinSCP in any supported mode).
- ghisler(Author)
- Site Admin
- Posts: 50824
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Maybe you have outdated copies of the dlls in some other location too, e.g. system32 directory?
About the path, you can set that in the connection settings. Just append it to the URL, separated by forward slashes.
About the path, you can set that in the connection settings. Just append it to the URL, separated by forward slashes.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com