Serve downloads with nosniff and a sandbox CSP
This commit is contained in:
@@ -45,6 +45,10 @@ Downloads support range requests, so an interrupted transfer can be resumed:
|
||||
curl -C - -O https://beam.example.com/x123abcx/myfile.txt
|
||||
```
|
||||
|
||||
Uploaded content is served with `X-Content-Type-Options: nosniff` and
|
||||
`Content-Security-Policy: sandbox`, so an uploaded HTML or SVG file opens as a
|
||||
sandboxed, script-free document instead of running on the beam origin.
|
||||
|
||||
### Endpoints
|
||||
|
||||
| Method | Path | Purpose |
|
||||
|
||||
Reference in New Issue
Block a user