Beapi-io / spring-boot-starter-beapi

Springboot 'convention over config' starter for API Automation
Other
1 stars 1 forks source link

TASK : run check on excessive login/logouts #120

Open orubel opened 3 months ago

orubel commented 3 months ago

people may attempt login/logout to attempt to bypass functionality

This is an immediate flag for attempted hacking.

If we add a ratelimit to login attempts this will help reduce attempts.

for example:

so ...

We store 'lockTime' & 'numberofoccurencesas with User domain We can add ROLES that bypass the check(ie ROLE_TEST, ROLE_ADMIN)

orubel commented 3 months ago

Also we have to

orubel commented 3 months ago

Been thinking about this more and this actually would lend itself WELL as form of 'dynamic rate limiting' where we scale down the rate for requests if they login/logout several times