0

Is there any possibility to configure ProFTPD that way:

User has read/write FTP access to his home directory

If User connects from inside LAN (e.g. 172.16.0.0) he should have full access (read/write) as usual

If User connects from outside (from internet, or any other network) he should have read only access.

Both cases User should have same login/password

Only one instance of ProFTPD should be active. Instead ProFTPD we can use vsftpd, if it is neccesary.

Is there any ideas to do it?

Thanks!

2

Within the ProFTPD configuration, you can set up some ACLs based on the connection origin. Therefore, you just have to put a Limits directive on read/write commands and define the correct ACLs.

Cheers.

| improve this answer | |
  • Thanks for pointer! Solution was: ` <Limit WRITE> Allow from 172.16.0.0/20 DenyAll </Limit> ` – Anton Apr 17 '13 at 11:15

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.