mirror of
https://github.com/prasathmani/tinyfilemanager.git
synced 2026-04-26 19:05:54 +03:00
[GH-ISSUE #1022] Login ratelimit #660
Labels
No labels
Feature
Feature
Is It Really an Issue?
Need More Info
Request
Security
bug
duplicate
enhancement
enhancement
help wanted
invalid
pull-request
question
suggestion
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/tinyfilemanager#660
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ririko5834 on GitHub (Apr 14, 2023).
Original GitHub issue: https://github.com/prasathmani/tinyfilemanager/issues/1022
Is there a way to set some rate-limit for login form? This can prevent brute-force attacks to guess usernames and passwords.
@ner00 commented on GitHub (May 27, 2023):
Most options would rely on a counter being stored either on a database or on a session variable; a database would increase the dependency on a DBMS, a session counter could be ignored/reset by the attacker.
I've added 2FA authentication in mine (although requires a device like smartphone, etc). I was supposed to add 2FA options interactively, but didn't have the time or patience to get around doing that so the setup is mostly static. Here's the commit where I introduced 2FA in one of my branches:
github.com/prasathmani/tinyfilemanager@af2a70d51f, and also this fix to the previous commitgithub.com/prasathmani/tinyfilemanager@b0a2e20f32@ririko5834 commented on GitHub (May 28, 2023):
Can you PR that? Also when talking about 2FA, support for hardware keys should be added
@ner00 commented on GitHub (May 28, 2023):
I don't feel confident in the way it is implemented, if I do make it cleaner like I was supposed to then sure, I might. Anyone is free to do it though. Things I want to see done first (especially the first couple ones):
I don't own any, so I couldn't test that, maybe someone else could do that.
@ner00 commented on GitHub (Jun 10, 2023):
@ririko5834 I'm fairly happy with https://github.com/prasathmani/tinyfilemanager/pull/1054, so I'm thinking that'd be it for now in relation to my contribution to 2FA auth implementation. It adds subtle functionality refinements over the initial implementation, mostly UI/UX stuff.
Again, this is regardless of approval or adoption by the author of the original repository.