Re: FTP server: advanced functions needed

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Egor wrote:

> I want to be able to do the following on my FTP server:

You can do much of it with wu-ftpd. See the ftpaccess(5) manpage for
details of the options involved.

> 1. Limit the amount of data that can be downloaded in a period of time
> (like 100Mb/week). On a per-user (per-group) basis.

This is the most awkward; wu-ftpd doesn't maintain any state between
sessions. The transfer limits are all per-session, rather than over
any given time interval.

You could fudge it by monitoring logging output, and updating the
user's per-session limits ("data-limit" etc) accordingly.

> 2. Limit the time of the day when users can upload/download (per-user
> and per-group).

The "limit" option.

> 3. Make certain files downloadable only to certain users, while all
> files still visible for everyone.

File permissions, or the "noretrieve" option.

-- 
Glynn Clements <glynn@sensei.co.uk>
-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.rutgers.edu


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux