mirror of
https://gh.wpcy.net/https://github.com/stingray82/uupd.git
synced 2026-07-14 18:21:23 +08:00
15 lines
469 B
Markdown
15 lines
469 B
Markdown
🛡️ Security Tips
|
|
----------------
|
|
|
|
For private update servers or GitHub repos, consider these practices:
|
|
|
|
- Use **HTTPS** for all update servers.
|
|
- Avoid committing your `github_token` directly into public repositories.
|
|
- Use `key` authentication for private update endpoints:
|
|
|
|
```php
|
|
'key' => 'your-secret-key',
|
|
```
|
|
|
|
- Limit write access to your `index.json` or deployment tools.
|
|
- Rotate your GitHub token regularly and use a token with minimal required scopes.
|