server/lib/private/Security
Lukas Reschke 66835476b5
Add support for ratelimiting via annotations
This allows adding rate limiting via annotations to controllers, as one example:

```
@UserRateThrottle(limit=5, period=100)
@AnonRateThrottle(limit=1, period=100)
```

Would mean that logged-in users can access the page 5 times within 100 seconds, and anonymous users 1 time within 100 seconds. If only an AnonRateThrottle is specified that one will also be applied to logged-in users.

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2017-04-13 12:00:16 +02:00
..
Bruteforce Add support for ratelimiting via annotations 2017-04-13 12:00:16 +02:00
CSP Safari CSPv3 support is sub-par 2016-12-14 13:17:20 +01:00
CSRF Fix missing update of session, when it was already used. 2016-11-02 20:30:36 +01:00
IdentityProof Add Identityproof tests 2016-11-24 21:50:19 +01:00
Normalizer Add support for ratelimiting via annotations 2017-04-13 12:00:16 +02:00
RateLimiting Add support for ratelimiting via annotations 2017-04-13 12:00:16 +02:00
Certificate.php Update with robin 2016-07-21 18:13:58 +02:00
CertificateManager.php dont write a certificate bundle if the shipped ca bundle is empty 2017-01-09 16:51:27 +01:00
CredentialsManager.php Fix others 2016-07-21 18:13:57 +02:00
Crypto.php Fix others 2016-07-21 18:13:57 +02:00
Hasher.php Fix others 2016-07-21 18:13:57 +02:00
SecureRandom.php Fix others 2016-07-21 18:13:57 +02:00
TrustedDomainHelper.php Fix others 2016-07-21 18:13:57 +02:00