[Samba] samba file access rate limiting

Jeremy Allison jra at samba.org
Wed Dec 7 17:22:44 UTC 2022

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.

More information about the samba mailing list