How to secure an FTP connection

Network security expert Mike Chapple offers three tips that enable an FTP connection without opening up an enterprise to security risks.

We are attempting to FTP a file from our iSeries to a Unix system. The secure connection is set up via a VPN tunnel. Can you offer some best practices to enable the connection without opening ourselves up to security risks?

It sounds like you've already taken some strong measures toward securing your FTP connection. The first and most important step is to realize that FTP is an inherently insecure protocol and must be implemented only in the presence of compensating controls. FTP uses unencrypted connections, leaving both the data you transfer and your credentials exposed to eavesdropping attacks. This can be remedied this through the use of encryption, either by using Secure FTP (SFTP), which tunnels FTP through an encrypted SSH connection, or by using a VPN to encrypt the traffic.

Second, follow normal user security principles. If you're not running an anonymous FTP download service, provide each user with a unique username and strong password that they may use to access your FTP server.

Finally, configure your systems in a secure manner. Ensure that the FTP server is running a modern operating system and has all current security patches applied. Verify firewall settings and ensure that you allow the minimum number of ports from as few destinations as possible while still meeting business requirements.

More on this topic

Dig Deeper on Network security