I'm working on a project where one of the connecting services need to be able use insecure FTP (port 21) to send files to a web app for processing. To make it even less secure they use cloud computing so the connection could be coming from any IP address.Security wise this is gives me the screaming heebie-jeebies so I want to lock things down as much as possible.The server is in AWS EC2 running the Amazon version of Linux (so related to RHEL/CentOS).Ideally I want a FTP account that can only transfer files to a single directory on the server. We will then use scripting to copy valid files out of that directory into a place they can be processed by the app.What is the best what of going about this?
How to setup FTP account in Linux that can only access one folder
ftp;amazon linux