br-office-suite
This commit is contained in:
22
docs/DEPLOYMENT.md
Normal file
22
docs/DEPLOYMENT.md
Normal file
@@ -0,0 +1,22 @@
|
||||
# Deployment
|
||||
|
||||
## Lokal
|
||||
1. PostgreSQL 15+ bereitstellen
|
||||
2. Migrationen aus `database/migrations` anwenden
|
||||
3. `.env.example` nach `.env` kopieren und Werte setzen
|
||||
4. Backend:
|
||||
- `cd backend`
|
||||
- `npm install`
|
||||
- `npm run dev`
|
||||
5. Frontend:
|
||||
- `cd frontend`
|
||||
- `npm install`
|
||||
- `npm run dev`
|
||||
|
||||
## Produktion
|
||||
- Reverse Proxy vor Backend/Frontend
|
||||
- TLS strikt erzwingen
|
||||
- PostgreSQL getrennt betreiben
|
||||
- Upload-Storage getrennt vom App-Container
|
||||
- ClamAV/clamd als separater Dienst
|
||||
- DB-Backups, PITR und Restore-Tests einplanen
|
||||
23
docs/SECURITY.md
Normal file
23
docs/SECURITY.md
Normal file
@@ -0,0 +1,23 @@
|
||||
# Security
|
||||
|
||||
## Authentisierung
|
||||
- Passwort-Login mit Argon2
|
||||
- Zweiter Faktor per TOTP oder WebAuthn
|
||||
- MFA für privilegierte Rollen erzwungen
|
||||
- Refresh-Token in HttpOnly-Cookie
|
||||
|
||||
## Autorisierung
|
||||
- Rollenprüfung im Backend
|
||||
- PostgreSQL Row-Level Security als zweite Schutzschicht
|
||||
- getrennte DB-Rollen für App, Migration, Reporting
|
||||
|
||||
## Dokumentensicherheit
|
||||
- Virenscan-Hook
|
||||
- SHA-256 Hash je Datei
|
||||
- Download nur bei `scan_status = clean`
|
||||
- Audit-Eintrag bei Upload/Download
|
||||
|
||||
## Datenschutz
|
||||
- vertrauliche Vorgänge per RLS eingeschränkt
|
||||
- optionale Feldmaskierung via View `v_case_masked`
|
||||
- Soft-Delete für fachliche Objekte
|
||||
Reference in New Issue
Block a user