Sharing
Create public links or grant access to another Teldrive user.
Teldrive supports public links and user grants.
Public links
A share can set:
readoreditpermission;- password;
- expiration;
- maximum download count.
The share URL/token is a credential. edit shares allow writes under the shared root; use them only when intended.
Password-protected shares use X-Share-Password for API clients.
Browser downloads stream directly to the browser’s download manager, including password-protected shares; the page does not buffer the entire file in memory. Before a protected download, the UI exchanges the password for a 15-minute, share-scoped HttpOnly cookie (Secure on HTTPS). This cookie authorizes file content only, not listing or editing, and the password never appears in the download URL.
Changing the password, revoking the share, reaching its download limit, or letting the share expire invalidates subsequent download requests. Cookie expiry does not interrupt an already-running stream; starting another download obtains a fresh cookie.
User grants
For another account on the same Teldrive server, grant read or edit access instead of creating a public link. Recipients see grants under Shared with me.
Revoke
Revoking a share/grant removes access without deleting the underlying file.
For exact request/response schemas, use the API Reference.