
You already have a public link. You want it to die on a clock.
file.rocks is the UI. The object stays in the bucket. After the expiry, visitors lose access.
This is expiry only. It is not a remake of how to password-protect a public link from your own bucket, how to share a file from your own bucket, how to share a folder from your own bucket, how to copy a file link from your own bucket, or how to turn off a public link from your own bucket. Those set a password, create, copy, or revoke. This sets when the live link expires.
You need S3-compatible object storage. Not another Drive clone.
If you do not have a bucket hooked up, follow how to connect a Backblaze B2 bucket and come back. For the price table, see the cheapest cloud object storage comparison.
Sign in at file.rocks. Open Files. Pick a bucket you own.
Open a file or folder that already has a public link, or turn one on first. Row menu Share file... or Share folder... (or the ShareStatus globe).
The modal title is Share File or Share Folder. The toggle should say Public link enabled (or Create public link if you are enabling now).
Find Link expires. Pick Never, In 1 day, In 7 days, In 30 days, or Custom date. Custom shows a date picker.
Click Save expiry / password.
The toast is Updating share… then Share updated. A fail toasts Failed to update share.
Password lives on the same Save control. That path is how to password-protect a public link from your own bucket. This post stays on expiry.
Works the same for file shares and folder shares.
Need the share first? That is how to share a file from your own bucket or how to share a folder from your own bucket.
Need a password on the link? That is how to password-protect a public link from your own bucket.
Need the URL on the clipboard? That is how to copy a file link from your own bucket.
Need the link dead now? That is how to turn off a public link from your own bucket.