Comments (2)
Let me have this, please.
from auth-microapi.
Okay the problem is that people might try to break in by dictionary attacks or brute force. We can stop this by blocking out the user for sometime after 3 successive login failures.
I will solve this by adding a attempts object on the user model which holds the number of failed attempts and the time of last failed attempt. The app checks on there anytime user fails login and if the user has failed thrice, he gets blocked.
NO ADDITIONAL CONTEXT
from auth-microapi.
Related Issues (20)
- Get newly registered users in last 30 days HOT 2
- Get total failed login attempts in last 30 days
- Get total authentications (sign in) for a single user in last 30 days
- Total successful authentications using Github
- Total successful authentications using Twitter HOT 3
- Total successful authentications using Facebook
- Total successful authentications using Google
- Total successful authentications using local authentication(email registration) HOT 1
- [FEATURE REQUEST]: Update social sign in
- [BUG]: User password reset not working
- [FEATURE REQUEST]: Add initial API settings structure
- [DOCS]: Update Swagger Servers and Endpoints request body properties
- [BUG]: Settings schema export function error
- [FEATURE REQUEST] Initial folder structure and issue templates for version 2 HOT 1
- [FEATURE REQUEST]: Implement User password change endpoint
- [CHORE]: Install initial packages, setup tests and linting for V2 HOT 1
- [FEATURE REQUEST] User Model
- [CHORE]: Create DB connection & disconnection functions
- [FEATURE REQUEST] Implement social authentication routes
- [FEATURE REQUEST] - Add settings middleware
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from auth-microapi.