sasjs / server

Build Apps on Base SAS
https://server.sasjs.io
MIT License
20 stars 3 forks source link

feat: prevent brute force attack against authorization #345

Closed sabhas closed 1 year ago

sabhas commented 1 year ago

Issue

closes #344

Intent

A simple and powerful technique is to block authorization attempts using two metrics:

  1. The first is number of consecutive failed attempts by the same user name and IP address.
  2. The second is number of failed attempts from an IP address over some long period of time. For example, block an IP address if it makes 100 failed attempts in one day.

Checks

sasjsbot commented 1 year ago

:tada: This PR is included in version 0.31.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: