FTP: untrustworthy file transfer
Summary: FTP - file transfer protocol - is the most commonly used method for moving files around Web. Now Steve Frank, a founder and developer for Mac software company Panic, has come out and recommended that people stop using FTP.
FTP - file transfer protocol - is the most commonly used method for moving files around Web. Now Steve Frank, a founder and developer for Mac software company Panic, has come out and recommended that people stop using FTP.
I wrote about this (see If hackers don’t get you, maybe Google will) after my other blog, StorageMojo, was hacked. I'm glad to see a vendor of FTP software - I use their fine product Transmit - jump on board with a strong recommendation.
Why? Here are a couple of the best reasons he gives.
- Unless totaled over a secure socket, FTP is 100% insecure. Your password, and the contents of all your files are sent in the clear, free to be examined or captured by any network hop between you and your server. . . .
- FTP is not friendly with firewalls. Because it constantly needs to establish new connections, this has led us to "passive mode" which might as well be black magic as far as most people are concerned. Briefly, passive mode means the client initiates data connections to the server, rather than the default where the server makes connections to the client (yes, really). Worse still, data connections occur on varying high port numbers (usually 49152 - 65335) which means since Edmonds would have to open over 16,000 ports in the firewall, almost defeating the purpose of a firewall in the first place. It's a mess, and it's really hard to understand.
If not FTP, what? As noted in my blog post two months ago as FTP - secure FTP - is an excellent alternative.
To quote Steve Frank again:
It's secure, it's consistently implemented, and its machine-readable. That all adds up to a more reliable future proof transfer client for you.
I've talked to a lot of people who didn't even realize their host supported SFTP. If your hosting service supports SFTP, you usually don't have to change anything except for switching your client protocol from FTP to as FTP period if it doesn't work, you should ask your host if there is anything else you have to do (such as use a different port number)....
FTP has served us well but it's time to move on. You wouldn't use a 23-year-old computer to do your work, so don't use a protocol from the same vintage. Demand of modern transfer protocols from your host.
Amen, brother.
The Storage Bits take Just one thing.
Steve, if this is such a great idea - and it is - why isn't SFTP the default FTP option in your company's product?
You are the expert. You have the knowledge. Your users typically have no more idea how FTP works than they do about ray tracing.
As computers become more pervasive the technical expertise of the average user continues to drop. Smart vendors will make an effort to meet their customers more than half way.
Comments welcome, of course.
Kick off your day with ZDNet's daily email newsletter. It's the freshest tech news and opinion, served hot. Get it.
Talkback
Wow Robin, good blog!
However, I'm a little disappointed that you didn't use the same logic you used when you blamed MS for file system errors on Linux and OS X. After all, Windows has 90% marketshare on the client so it makes sense that most FTP clients are run on a Windows machines. Therefore, MS is to blame for FTP's flaws. ;)
Let the MS muppets suffer
Hey!! Quit disparaging the muppets!!
Very Timely
Welcome to this decade Robin. What's your next blog? POP3 untrustworthy? How about WEP encryption?
RE: FTP: untrustworthy file transfer
Call me old-fashioned, but FTP does not "move files around the Web". The "World Wide Web" is a completely separate protocol on the greater thing, called "The Internet".
It's like saying that FTP is used as a web browser.
RE: FTP: untrustworthy file transfer
Well LAH-DEE-FREAKIN'-DAH. That explains everything!
Why doesn't he write security software to patch holes in OS X then. It's clear that Apple has no interest in doing it.
RE: FTP: untrustworthy file transfer
In addition ports for PASV mode are also configurable. So firewalling is relatively easy.
Anonymous FTP sites are a great way to publish files for a big audience. (hardware drivers, manuals, demo software)
Absolutely right on!
Don't FTP. Go Fish
You'd be surprised (or maybe you wouldn't) how many organizations are running clear-text telnet, ftp, etc connections lulled by the false perception that they are safe behind the perimeter corporate firewall.
Linux Konqueror fish protocol allows you to open the file manager onto any remote site url and do drag/drop, cut/paste, edit any files over a secure ssh connection. More [url=http://www.novell.com/coolsolutions/feature/15895.html]here[/url]
Dietrich T. Schmitz
[url=http://www.dtschmitz.com/dts/]Linux IT Consultant[/url]
Hmmm...
He just happens to sell a product to replace it.
I was thinking the very same thing...
Robin, your blogs don't get any better do they!
LOL - nope...nt
Your right - what quowinkadink...nt
For a standard from 1971, it's done pretty well.
For those old enough to remember, what happened to telnet, cu, vt100's connected over a 300bps serial line, gopher, wais, NFS, YP(NIS), and refrigerator sized 386 "servers" supporting 250 users?
I mean, [b]come on[/b]. FTP is a dinosaur era technology which was developed in an era of truly open university networks where the main intent was to disseminate and share information and everything was based on trust.
FTP angst
stop using it? nah. it's a practical tool. if someone accidentally (or maliciously) digs into my files on the one day i've left my server open beyond what i intended, ... go fish--useless stuff to them anyway.
i see no need to look over my shoulder, but if you're nervous, get off the world wide web.
RE: FTP: untrustworthy file transfer
http://filezilla-project.org/
And online ftp hosting providers such as these do too:
http://www.iqstorage.com/
http://www.ftptoday.com/
http://www.box.net/
Incorrect terminology....
RE: FTP: untrustworthy file transfer
SFTP is typically found in a UNIX environment. Neither Windows or mainframes have native support for it.
Secured FTP via SSL/TLS is more commonly used in non-UNIX environments.
Products like WS-FTP Pro are good choices for Windows environments and an open source product ProFTPD works fine in a UNIX/Linux environment and both support SFTP, TLS and SSL.
You also don't have to open up thousands of high ports. You can tell the FTP server, which ports to use for the working ports and give it a limited range.
In the mainframe world, it is called passivedataports.
Not quite correct...
Secured FTP via SSL/TLS is more commonly used in non-UNIX environments.[/i]
I've worked in F500 corporate mainframe applications for a long time. We've used Secured FTP for mainframe-mainframe, mainframe-server, server-mainframe, etc. file transfers for several years within the corporate firewall as well as with EDI files with suppliers/vendors due to the sensitve nature of the data (financial, HR, sales).
It's pretty easy to set up in batch jobs to PKZIP and then SFTP the file to where it needs to go.
You are correct, only specific ports need to be opened.
Master Joe Says...
--Master Joe