In Part 1 of "SFTP virtual users with ProFTPD and
Rails", I introduced ProFTPD's virtual users and presented my annotated
proftpd.conf that I used to integrate virtual users with a Rails
application. Here in Part 2, I'll show how we generate virtual
user credentials, how we display them to the user, as well as our
SftpUser ActiveRecord model that does the heavy lifting.
Let's start at the top with the SFTP credentials UI. Our app's main workflow actually has users doing most of their …[Read more...]