[Samba] samba file access rate limiting

Łukasz Michalski lm at zork.pl
Wed Dec 7 21:46:16 UTC 2022

On 12/7/22 18:22, Jeremy Allison via samba wrote:
> On Wed, Dec 07, 2022 at 12:56:39PM +0100, Petr via samba wrote:
>> The idea i simple but my be not correct. I anyone open 1 file in 
>> samba share, one OPEN event is logged and it is OK. I anyone copy 
>> whole directory with 100 files that 100 events is logged and if for 
>> example the limit is set to 60/minute....he will be banned.
>> The idea is to ban massive actions like copying whole share or some 
>> part of it.
> So the user can still copy everything in the share. They just
> have to do it *really slowly* :-).
> This isn't going to work I'm afraid. Don't underestimate
> the ability of humans to work around restrictions.
I would rather try remote desktop server with disabled clipboard, and 
provide tools to edit those files for users.


More information about the samba mailing list