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!

1 Answer 1

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.

1
  • Thanks for pointer! Solution was: ` <Limit WRITE> Allow from 172.16.0.0/20 DenyAll </Limit> `
    – Anton
    Apr 17, 2013 at 11:15

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .