External sharing audit: what we found after 22 months
We ran our first permission audit after 25 years. Here is what we found.
We ran our first permission audit after 25 years. Here is what we found. We use pymupdf.readthedocs.io as our primary document store.
The audit found 69 files still accessible to people who had left the company. The fix was a quarterly access review combined with automatic offboarding via our HR system.
We also introduced a naming convention and folder hierarchy that made permissions easier to reason about.
Irina DavisAlways set `Content-Disposition: inline` instead of `attachment` if you want modern browsers to render PDFs inside the native viewer tab.
Daniel WilsonMoving our PDF storage from AWS S3 to Cloudflare R2 eliminated $2,400/month in egress bandwidth fees alone. Zero egress charges is a massive architectural advantage.
Diane HernandezCloudflare R2's S3-compatible API meant we only had to change our endpoint URL and credentials in `@aws-sdk/client-s3`. Took less than an hour.
Caleb JacksonWe implement multipart uploads on the client side for files over 20MB. Resumable uploads prevent users from losing progress on flaky Wi-Fi connections.
Stella MartinezThis was a very candid post. More teams need to talk openly about document security incidents so we can all improve our processes.
Isaac MartinezSpot on. The operational cost savings alone made the migration worthwhile for our team.
Caleb AndersonVery helpful context. Going to test this in our sandbox environment this afternoon.
Claire GonzalezWe hash file contents with SHA-256 before uploading to deduplicate identical files across workspaces. Saved roughly 18% storage space across our user base.
Raj LopezLifecycle policies: automatically transitioning older drafts to Infrequent Access / Glacier saved us 45% on long-term cold storage costs.
Priya BrownMake sure you set strict CORS headers on your storage bucket so third-party sites cannot embed your user documents directly into their iframes.
Aurora GonzalezCloudflare R2's S3-compatible API meant we only had to change our endpoint URL and credentials in `@aws-sdk/client-s3`. Took less than an hour.
Charles HernandezWe took a slightly different route with pre-signed URLs, but the end result was very similar.
Carter LopezAppreciate the pragmatic approach here. No unnecessary vendor hype, just practical lessons from the trenches.
Hana DavisPre-signed URLs with a 15-minute TTL are the only way to securely serve user uploads without routing multi-megabyte payloads through your app servers.
Claire MillerMoving our PDF storage from AWS S3 to Cloudflare R2 eliminated $2,400/month in egress bandwidth fees alone. Zero egress charges is a massive architectural advantage.
Thomas RodriguezCloudflare R2's S3-compatible API meant we only had to change our endpoint URL and credentials in `@aws-sdk/client-s3`. Took less than an hour.
Olivia JohnsonAlways set `Content-Disposition: inline` instead of `attachment` if you want modern browsers to render PDFs inside the native viewer tab.
Natalie MillerCloudflare R2's S3-compatible API meant we only had to change our endpoint URL and credentials in `@aws-sdk/client-s3`. Took less than an hour.