How Drop Expiry and Auto-Deletion Work on AeroSigil
Most cloud drives keep files forever until you remember to manually delete them years later. AeroSigil was designed in reverse: every piece of text and uploaded file carries an expiration deadline from the second it is created.

HTTPS & TLS: Encrypting the Web — Computerphile
Dr. Mike Pound explains transport-layer security and data protection fundamentals, providing useful context on how web connections maintain integrity during transient client-server handshakes.
1. Granular Expiry Options: From 1 Minute to 365 Days
When you create a drop, you select exactly how long the data should live. We offer twenty-two preset expiration intervals to cover different transfer needs:
1 minute, 2 minutes, 5 minutes, 10 minutes, 15 minutes, 30 minutes, 45 minutes. Great for quick terminal handoffs.
1 hour, 2 hours, 3 hours, 6 hours, 12 hours, 24 hours (Recommended default), 48 hours, 3 days.
7 days, 14 days, 30 days, 60 days, 90 days, 120 days, 180 days, 365 days. (Never is a Pro option).
The default recommendation is 24 hours. That gives you plenty of time to send a link to a friend or coworker across different timezones without leaving your content lingering on a public server for months.
2. Two-Tier Defense: Client-Side Guard + Server Cron
What happens when an expiration timer elapses? AeroSigil enforces expiration at two independent layers:
Tier 1: Client-Side Timestamp Check (Instant)
Whenever anyone visits a drop URL, the application code reads the drop record's expires_at field. If new Date(existing.expires_at) <= new Date(), the page immediately refuses to display the content and renders an expired notice. This means even if the server cleanup worker is mid-cycle, visitors cannot view an expired drop.
Tier 2: Background pg_cron Sweep (Every 60 Seconds)
In our PostgreSQL database, a scheduled background extension (pg_cron) runs an automated cleanup routine every minute: * * * * * SELECT public.delete_expired_entries();.
3. How the Database Deletes Files and Rows
Deleting an entry isn't just dropping a single row from a database table. A complete drop can include multiple attached files stored in cloud object storage, file metadata records, and audit access logs.
Here is the actual SQL function executed by our database cron worker:
The function cleans up the physical storage objects in the entry-files bucket first. Next, it deletes the expired rows from the entries table. Because the database enforces foreign key cascade constraints (ON DELETE CASCADE), all connected file records in entry_files and access logs in entry_access_logs are purged in the same transaction.
4. Slug Recycling & Permanent Shredding
Once a drop is deleted by the background worker, two important things happen:
If you created a drop named "team-briefing" with a 1-hour expiry, that custom slug frees up once the hour ends. Another user or team can reuse that memorable name for their own temporary transfer.
There is no "Trash" folder, no 30-day grace period, and no customer support recovery tool. When a drop expires, its bytes are shredded from the database and storage buckets permanently. Always keep a local copy of any files you care about on your own machine.
5. Early Manual Deletion
You do not have to wait for the expiration countdown to hit zero. If you created a drop with an edit password, you can open the drop URL, enter your edit passphrase, and click the "Delete Drop" button at any time.
Early deletion triggers the same cleanup logic immediately: the database record and associated cloud storage objects are deleted on the spot. This is useful when you finish transferring a sensitive config file or a batch of photos and want to close the link immediately rather than waiting for the remaining countdown hours.
6. Why Ephemeral Design Beats Perpetual Storage
Traditional cloud platforms want you to upload files and leave them there forever. It encourages subscription lock-in and lets platforms mine metadata over months or years. The problem is that every forgotten file becomes a quiet liability. A public link to a server config, a temporary passport scan, or an unreleased code snippet created five years ago sits waiting for someone to find it.
AeroSigil inverts that expectation. Ephemeral storage cuts exposure down to the exact window you actually need. Files that do not exist cannot leak in future server breaches, cannot be subpoenaed in bulk queries, and cannot be crawled by search indexing bots.
Our client application also enforces this cleanup inside your local browser. The drop caching layer regularly sweeps expired records from local storage memory. When an entry hits its timestamp, the browser purges its local cache copy so old drafts never persist on shared workstations, university lab PCs, or borrowed phones.
Recommended Expiry Strategy
- Terminal commands, API keys, passwords: Pick 1 minute to 5 minutes. Grab it on the target screen and let it vanish.
- Class lectures, conference slides, handouts: Pick 2 hours to 6 hours. Covers the session and expires automatically.
- Cross-timezone code reviews or photo handoffs: Pick 24 hours (default). Plenty of buffer for remote colleagues.