Overview
Write-only folders let users upload files without being able to browse, download, or see other uploads. This is perfect for:- Anonymous file submissions
- Homework/assignment collection
- Bug report attachments
- Survey response uploads
- Photo contest entries
Basic Write-Only Folder
The simplest write-only setup:/mnt/uploads- Local folder for uploads/drop- URL path (http://your-server:3923/drop)w- Write-only permission for everyone
Write-Only with Admin Access
w - Everyone can uploadA,admin - User admin has full access (read/write/move/delete/admin)-e2d - Enable database for upload tracking[global]
e2d # enable upload database
[accounts]
admin: secretpass
[/drop]
/mnt/uploads
accs:
w: * # everyone can upload
A: admin # admin can do everything
Upload with Secret Links (upget)
Let users upload files and receive a secret download link:wG- Write permission + Upget (upload and get link)fk=8- Filekey length (8 random characters)-e2dsa- Required for filekeys
Upload Rules and Limits
File Size Limits
Rate Limiting (per-IP)
File Lifetime (auto-delete)
Automatically delete files after a certain time:Restrict to Top-Level Uploads
Prevent users from creating subdirectories:Organizing Uploads
Automatic Folder Organization by Date
Organize uploads into date-based folders:Automatic Folder Organization by Count
Create subfolders after a certain number of files:Preventing Duplicate Uploads
-e2dsa- Index all files--dedup- Create symlinks for duplicate files
Allowing Users to Delete Their Own Uploads (Unpost)
--unpost 43200- Allow undoing uploads within 12 hours (43200 seconds)- Users access via the
[π§―]unpost tab
Write-Only with Move Access
Let one user upload, another user review and move approved files:- Students upload to
/submissions - Teacher reviews files
- Teacher moves approved files to
/approved - Everyone can see approved submissions
Upload Notifications
Email Notifications
Use event hooks to send email on upload:notify-upload.sh:
Desktop Notifications
On Linux, show a popup notification:Advanced: Randomized Filenames
Force random filenames on upload:[π²] to randomize filenames, or make it mandatory with a custom upload hook.
Complete Example: Anonymous Dropbox
anonymous-dropbox.conf
- β Anonymous uploads with secret links
- β 1 hour undo window
- β Size and rate limits
- β Auto-delete after 30 days
- β Organized by upload date
- β Duplicate prevention
- β Admin can review everything
Troubleshooting
Users can see other uploads
Users can see other uploads
Make sure youβre using
w or wG permission, NOT rw or r.Filekeys not working
Filekeys not working
Filekeys require database indexing:The
-e2dsa is mandatory for filekeys.Unpost not working
Unpost not working
Unpost requires
-e2d and the --unpost timeout:Rate limits not enforced
Rate limits not enforced
Rate limits (
maxn, maxb) require -j 1 (single process mode):Users getting banned
Users getting banned
Check the ban settings:Or increase the thresholds (default is 9 failed attempts in 1 hour).
Security Considerations
Next Steps
- Set up file sharing with mixed permissions
- Configure deduplication to save disk space
- Enable authentication for better security
- Create a media server for approved uploads