Meilenstein 4: Rate-Limit, Audit-Log und Backup
- Login-Rate-Limit (5 pro Benutzername, 20 pro IP in 15 Minuten), in SQLite gespeichert - Audit-Log für Login, Fehlversuche, Logout und alle Änderungen an Verbindungen; fremde private Einträge bleiben verborgen; API /api/audit und Ansicht im Frontend - scripts/backup.sh: konsistente Kopie per SQLite-Backup-API, Integritätsprüfung, gzip, Rechte 600, Aufräumen nach N Tagen - Tests für Rate-Limit und Audit-Log, SETUP.md ergänzt Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
37a60fc62a
commit
64b3dfbb08
15 files changed
+540
-11
No files matched your search
@@ -147,3 +147,14 @@ select, textarea {
|
||||
font: inherit;
|
||||
}
|
||||
.dialog-knoepfe { display: flex; justify-content: flex-end; gap: 0.5rem; }
|
||||
|
||||
/* --- Protokoll --- */
|
||||
#protokoll h2 { margin-top: 0; }
|
||||
.hinweis { opacity: 0.7; font-size: 0.9rem; }
|
||||
.tabelle-rahmen { overflow-x: auto; background: var(--karte); border: 1px solid var(--rand); border-radius: 8px; }
|
||||
table { border-collapse: collapse; width: 100%; font-size: 0.875rem; }
|
||||
th, td { text-align: left; padding: 0.5rem 0.75rem; border-bottom: 1px solid var(--rand); vertical-align: top; }
|
||||
th { font-weight: 600; white-space: nowrap; }
|
||||
td:first-child, td:last-child { white-space: nowrap; }
|
||||
td { overflow-wrap: anywhere; }
|
||||
tr.warnung td { color: var(--fehler); }
|
||||
Reference in new issue
Block a user