I will note that I am using Rails but this is not a Rails issue.
I'm not very experienced with Linux but I do know I'm running Ubuntu 10.04 LTS on Linode.
Upon user registration the user is created a folder in my RAILS_ROOT/public/users/[user_id]/ for their own personal use. Inside this folder is an albums directory.
How can I, at the same time this folder is created, password encode it and give them ftp access. Is this actually possible? What are the security concerns with something like this. I want to lock them in there and I have seen some people talk about vsftpd as a solution to this last part.