- Shipped
- November 17, 2026 at 5:17 AM UTC
- Author
- Kamo
- Commit
- db451a9
Anyone holding a presented document's frame URL (guests included) could fetch the whole file from /wopi/files/{id}/contents while the view token lived. WopiProofFilter verifies X-WOPI-Proof/ProofOld (RSA-SHA256 over token + upper-cased URL + ticks, the key from Docs's discovery, cached 1 h, refreshed at most once a minute on a failed check, 20-minute timestamp window, WOPI rotation rules). View tokens: kamo.wopi.proof.view-mode (shipped as report, then enforce); edit tokens: report only, so the presenter's own session is never cut off. View tokens now carry the WOPI host (wsrc) the signed URL is rebuilt from. Docs manifest mounts Docs-proof-key. CheckFileInfo already answers ReadOnly + DisableExport/Print/Copy + Hide*Option for view tokens.
