0

Can i prevent download all files for account by ftp? Because i will pay money for freelancer and at my site i has very important files, I need to allow changing files by ftp, but to prevent any downloading of files by ftp, can I do this? I use ProFTPD on my Ubuntu vds server.

2

1 Answer 1

0

You might try using something like this in your proftpd.conf:

<Directory />
  <Limit READ>
    DenyUser user1
    DenyUser user2
    AllowAll
  </Limit>
</Directory>

This says to deny/reject any "read" commands (such as RETR (RETRieve, used for downloads) for the named users (in this example, user1, user2), but to allow those read commands for every other user.

Hope this helps!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.