Questions tagged [symfony-ratelimiter]

6 questions
9
votes
1 answer

Symfony 5 - Semaphore extension (sysvsem) is required

I have implemented the brand new Symfony authentication system : https://symfony.com/doc/current/security/experimental_authenticators.html And I added the new Login Throttling : https://symfony.com/blog/new-in-symfony-5-2-login-throttling Everything…
eronn
  • 1,690
  • 3
  • 21
  • 53
3
votes
1 answer

login_throttling is ignored if correct username/password

I have added login throttling to my symfony app. If I try to log in 5 times in a row in the same minute with invalid credentials I have a TooManyLoginAttemptsAuthenticationException in the onAuthenticationFailure method of my authentificator, so far…
Christophe Le Besnerais
  • 3,895
  • 3
  • 24
  • 44
3
votes
1 answer

Symfony5: login throttling failing must be an instance of RequestRateLimiterInterface, instance of RateLimiterFactory given

In order to satisfy a security audit, I need to implement a feature where a user can have at most 3 attempts of login per 5 minutes fortunately, it is now built-in Symfony 5.2: https://symfony.com/blog/new-in-symfony-5-2-login-throttling As the…
allan.simon
  • 3,886
  • 6
  • 35
  • 60
0
votes
0 answers

Implement a Rate Limiter in Simulnk without using the in-built Rate Limiter block

Implement a Rate Limiter in Simulnk without using the in-built Rate Limiter block. Use the basic blocks(any block other than Rate Limiter) to design a rate Limiter. Rising Slew Rate is 3 and Falling Slew rate is -5. Design a Rate Limiter in Simulink…
0
votes
1 answer

Rate Limiting in laravel to x times per day using RateLimiter

I am trying to restrict usage of a certain endpoint to 10 times per day per user, and I can see how to do it for a certain number of times per minute. Please note that this is within a controller, not as middleware. $executed =…
mankowitz
  • 1,864
  • 1
  • 14
  • 32
0
votes
1 answer

Change the name of a Symfony autowire alias

I'm using Symfony 5.3 and the Symfony RateLimiter bundle. For this to work, a method should be called by: public function root(Request $request, RateLimiterFactory $authenticationApiLimiter) { } A RateLimiterFactory requires that the variable be…
elb98rm
  • 670
  • 6
  • 21