Sync Repo-docs-13-security-privacy from project files
61
Repo-docs-13-security-privacy.-.md
Normal file
61
Repo-docs-13-security-privacy.-.md
Normal file
@@ -0,0 +1,61 @@
|
||||
<!-- codex-wiki-sync:1f984a634b3176198a229873 -->
|
||||
|
||||
> Mirrored from `/mnt/DATA/git/pikebacker/docs/13_security_privacy.md`.
|
||||
> Origin: `repository`.
|
||||
> Active tasks and changing state belong in Gitea issues; this wiki page is durable project context.
|
||||
|
||||
---
|
||||
# Security and Privacy
|
||||
|
||||
## Sensitive data
|
||||
|
||||
The app may process:
|
||||
|
||||
- location history,
|
||||
- planned travel dates,
|
||||
- sleep locations,
|
||||
- emergency contacts,
|
||||
- account identity,
|
||||
- API tokens,
|
||||
- community reports,
|
||||
- booking/deep-link actions.
|
||||
|
||||
## Privacy requirements
|
||||
|
||||
- Default trips to private.
|
||||
- Let users delete trips and reports where legally possible.
|
||||
- Do not share exact sleep plans publicly by default.
|
||||
- Minimize continuous location collection.
|
||||
- Allow offline use without constant tracking.
|
||||
- Separate analytics from precise route history.
|
||||
- Hash/anonymize telemetry where possible.
|
||||
|
||||
## Security requirements
|
||||
|
||||
- Store secrets in environment variables or secret manager.
|
||||
- Use short-lived signed URLs for offline-pack downloads.
|
||||
- Validate GPX uploads.
|
||||
- Sanitize user-generated content.
|
||||
- Rate-limit report submission.
|
||||
- Protect against route/POI scraping if commercial data is included.
|
||||
- Keep provider API keys server-side.
|
||||
|
||||
## Compliance notes
|
||||
|
||||
For EU users, assume GDPR obligations:
|
||||
|
||||
- explicit consent for location tracking,
|
||||
- data export/deletion,
|
||||
- purpose limitation,
|
||||
- retention policy,
|
||||
- processor agreements for analytics/cloud vendors.
|
||||
|
||||
## Safety disclaimers
|
||||
|
||||
Show concise warnings:
|
||||
|
||||
- route data may be wrong,
|
||||
- access rules can change,
|
||||
- weather forecasts are uncertain,
|
||||
- users must obey signs and local laws,
|
||||
- remote riding requires judgment and preparation.
|
||||
Reference in New Issue
Block a user