Encrypt per-user Gotify tokens at rest with sodium/openssl, add app_secret config, security headers, Apache .htaccess hardening, and restrictive permissions for stored settings.
27 lines
1.1 KiB
Markdown
27 lines
1.1 KiB
Markdown
# Security Policy
|
|
|
|
## Supported versions
|
|
|
|
The latest version on the default branch is the supported version.
|
|
|
|
## Reporting a vulnerability
|
|
|
|
Please **do not** open a public issue for a suspected security vulnerability.
|
|
|
|
Instead, report it privately to the maintainers with:
|
|
|
|
- A description of the issue and impact
|
|
- Steps to reproduce or proof of concept
|
|
- Affected files/endpoints/configuration
|
|
- Any suggested mitigation
|
|
|
|
If you need a private contact channel, use the repository owner's preferred security contact method listed on their GitHub/Git profile.
|
|
|
|
## Security notes for deployers
|
|
|
|
- Keep `config.php`, `audit.log`, and `gotify-users.php` outside public access and out of git.
|
|
- Set a strong `app_secret` in `config.php`; Gotify tokens are encrypted at rest.
|
|
- **Never expose the OSCAR Management API publicly.** Bind it to localhost or a trusted private network.
|
|
- Serve the admin panel behind HTTPS.
|
|
- Restrict access at the web server where appropriate (VPN/IP allowlist/auth proxy).
|
|
- Review web server rules to deny direct access to sensitive files (`.htaccess` is included for Apache; nginx example in README).
|