Security & Access Control Guide

How Password Protection Works on AeroSigil

When you create a drop on AeroSigil, you can protect it with an optional view password, an edit password, or both. We explain here exactly how that password check runs in your browser, what is stored on the server, and where the boundaries of this protection sit.

Curated Video Guide • Computerphile
Watch directly on YouTube
Public Key Cryptography & Key Exchanges — Computerphile
ComputerphileYouTube
Click to Load & Play

Public Key Cryptography & Key Exchanges — Computerphile

Dr. Mike Pound breaks down mathematical one-way functions, entropy generation, and the principles behind hashing algorithms used across modern web security systems.

1. Client-Side Hashing with Web Crypto

Plain text passwords should never travel across the wire if you can avoid it. When you enter a password into the create or edit screen on AeroSigil, your browser processes that string immediately before sending any payload to our database.

The browser takes your password and combines it with an application salt string. It then feeds that combined string into crypto.subtle.digest("SHA-256", data). This uses the W3C Web Cryptography API, which runs natively in modern desktop and mobile browsers.

The output of this operation is a 256-bit binary buffer, which the code converts into a standard 64-character hexadecimal digest. That 64-character hash is what gets stored in the database.

# Actual hashing function from src/lib/crypto.ts
const SALT = "entryvault::v1";
const data = new TextEncoder().encode(`${SALT}::${password}`);
const buf = await crypto.subtle.digest("SHA-256", data);

Because SHA-256 is a one-way mathematical function, no one looking at our database rows can turn the hash back into your original password. When someone opens the drop link, they type the password, their browser hashes it with the same salt, and the application checks whether the two hex strings match.

2. Two Separate Keys: View vs. Edit Permissions

Most traditional paste tools give you a single password for everything. That creates an awkward dilemma: if you want someone to read your notes, you have to hand them the password that also lets them delete or change what you wrote.

AeroSigil separates these two actions into distinct database fields:

View Password (view_password_hash)

Controls who can open the drop URL and see the text content or download the attached files. If set, anyone visiting the link sees a lock screen until they supply the correct passphrase.

Edit Password (manage_password_hash)

Controls who can modify text pages, add new pages, update notes, or delete the drop early before its countdown timer finishes.

This separation lets you share a drop URL with a classroom, a client, or a coworker while keeping write control strictly to yourself. They can read everything, but they cannot tamper with your code snippet or delete your uploaded assets.

3. Honest Boundaries: What Passwords Do and Do Not Do

We believe in explaining technical limitations plainly. A password on AeroSigil gates access through the web user interface. It is a protective barrier against casual web browsing, unauthorized colleagues, and shared computer screens.

Here is what password protection does NOT mean:

  • Content is not encrypted at rest: The text and file uploads are stored in our Supabase database and storage buckets as standard data. The password stops visitors from fetching and viewing that data through the web UI, but it is not an end-to-end encrypted blob.
  • Do not store high-value secrets: Because files and text are not encrypted with private client keys, you should never use AeroSigil for bank account numbers, primary private SSH keys, recovery seed phrases, or sensitive medical files.
  • Short passwords can be guessed: A four-character password like "1234" offers almost zero security. Anyone with patience could test common combinations. Choose a phrase with three or four random words if you want real protection.
  • Unprotected IDs are open: If you create a drop with an easy slug like "notes" or "test" without setting a view password, anyone who navigates to that URL can read whatever you pasted. Always add a view password or use a long random ID for non-public content.

4. Best Practices for Sharing Securely

Getting the most security out of AeroSigil requires simple good habits:

Use Random Slugs for Sensitive Handoffs:

Instead of naming your drop "meeting-notes", click the random shuffle button to get an unpredictable string like "k7m9-p2x4". This makes accidental discovery virtually impossible.

Set a Short Expiration Window:

If you are moving a Wi-Fi config or an API test payload from your workstation to your phone, pick a 10-minute or 1-hour expiration. There is no reason to leave temporary text sitting on the internet for thirty days.

Deliver the Password via a Different Channel:

If you send the drop link in an email, text the password to your colleague over Signal, SMS, or tell them in person. Never include both the URL and the password in the exact same message.

5. Practical Everyday Scenarios

Where does AeroSigil's password system shine in daily developer and student routines?

  • Lab Terminals to Personal Laptops: You are working in a university computer lab where you cannot log into your personal email or cloud drive. You paste your code snippets into AeroSigil, set a short 30-minute expiry and a quick view password, and pull the code down to your laptop in five seconds.
  • Client Review Sandboxes: You want a client to review a draft proposal or CSS stylesheet. You send them a password-protected drop. They review the files, but cannot overwrite your original work because they lack the edit passphrase.
  • Temporary Cross-Device Clipboards: Moving long tokens, formatted log dumps, or markdown tables between iOS, Android, and Linux workstations without syncing personal messaging accounts.

Create a Protected Drop in Seconds

No signup, no tracking, and no personal data required. Set your own ID, add a password, and transfer files freely.