Welcome Guest, Not a member yet? Register   Sign In
Better update routine?
#20

(09-22-2017, 03:20 PM)PaulD Wrote:
(09-22-2017, 11:42 AM)Narf Wrote: I get what you mean, but FTP? No.
That technology should be buried already.

Really? Why?

Do you mean because FTP is insecure you should use SFTP or FTP-SSL, either way they are all FTP just with encryption on top. Or do you mean FTP as a whole, because if so, what would you do to upload, say, a google verification file or similar to the web server?

Not contradicting you in any way, just curious as to the reason for your anti FTP stance.

Thanks in advance for any elaboration,

Paul.

FTP-SSL is just plain FTP with encryption on top of it, yes. But SFTP not just FTP with encryption on top of it. It's actually an extension to the SSH protocol and the "FTP" part of its name is just due to the fact it was made primarily for file transfers.

And yes, that FTP is insecure by default is a major issue, but even with TLS on top of it, it is still inferior to SFTP and SCP (also a different protocol) in every way.

FTP is a dual-channel protocol, where you actually open 2 connections - one for commands and one for the actual data - and was designed in times where everything was direct P2P communication, which is why you have active and passive mode in it.

That second connection is initiated by the server, to the client. But then the client could have a firewall or otherwise have the target port unreachable, so the passive mode came around as a hack around this. No modern protocol has such things, because you shouldn't need them.

Then there's the ASCII and BINARY transfer modes (and even more actually, but hopefully nobody hears of the other modes ever again) - another hack. This one necessary, because when the protocol was designed, over 40 years ago, everything was text-based and built around the ASCII character set. But character sets break images and other binary data, and who is to say that you actually want ASCII and not another charset (that's what those other modes were for - custom/proprietary charsets).

As a brief summary of the above, FTP is an ancient protocol with lots of unnecessary network overhead, and wouldn't even be usable today without hacks introduced into it just to work around its very core mechanics. And that doesn't even touch on security.

SFTP and SCP, on the other hand, are secure by default and have none of the above-mentioned flaws. Plus the huge benefit of SSH keys and other authentication methods. Password-based authentication should be avoided whenever possible.
Reply


Messages In This Thread
Better update routine? - by blaasvaer - 09-18-2017, 09:00 AM
RE: Better update routine? - by Narf - 09-19-2017, 12:39 AM
RE: Better update routine? - by blaasvaer - 09-19-2017, 10:19 AM
RE: Better update routine? - by Paradinight - 09-19-2017, 11:10 AM
RE: Better update routine? - by blaasvaer - 09-19-2017, 12:35 PM
RE: Better update routine? - by Narf - 09-19-2017, 01:54 PM
RE: Better update routine? - by blaasvaer - 09-19-2017, 02:05 PM
RE: Better update routine? - by Narf - 09-20-2017, 02:38 AM
RE: Better update routine? - by ciadmin - 09-19-2017, 03:21 PM
RE: Better update routine? - by blaasvaer - 09-20-2017, 12:41 AM
RE: Better update routine? - by InsiteFX - 09-20-2017, 03:08 AM
RE: Better update routine? - by spjonez - 09-20-2017, 06:40 AM
RE: Better update routine? - by rtenny - 09-20-2017, 07:50 AM
RE: Better update routine? - by Kaosweaver - 09-21-2017, 05:53 AM
RE: Better update routine? - by Narf - 09-22-2017, 11:42 AM
RE: Better update routine? - by PaulD - 09-22-2017, 03:20 PM
RE: Better update routine? - by Narf - 09-25-2017, 02:07 AM
RE: Better update routine? - by rtenny - 09-21-2017, 08:15 AM
RE: Better update routine? - by PaulD - 09-21-2017, 08:23 AM
RE: Better update routine? - by rtenny - 09-22-2017, 03:39 AM
RE: Better update routine? - by PaulD - 09-27-2017, 03:05 PM
RE: Better update routine? - by Kaosweaver - 09-25-2017, 08:24 AM
RE: Better update routine? - by PaulD - 09-25-2017, 10:37 AM



Theme © iAndrew 2016 - Forum software by © MyBB