Mobile Hand-off: "Temporary Drive" (Secure Blind Drop)
This workflow implements a Temporary Drive pattern. This is designed for high-security environments where the mobile device (Customer's phone or Staff's BYOD) is untrusted or the communication channel (QR code) might be intercepted.
Core Security Principles
- Write-Only Access (Blind Drop): The scanning device (Mobile) gets a token that allows putting files into the bucket but strictly denies listing or reading files. Even if the user uploads a file, they cannot download it back.
- Origin Tagging: All files are tagged with
origin: handoff. This allows the system to distinguish between files uploaded via the main app (trusted) and files from the temporary drive (potentially untrusted/needs sanitization). - Authenticated Read: Only the Desktop client (Staff), which holds a valid authenticated session, can see the files appearing in real-time.
Sequence Diagram
Usage Flow
- Staff initiates "Requests Files" on Desktop.
- System generates a unique
HandoffSessionand QR code. - Staff/Customer scans QR with Mobile.
- Mobile sees a simple upload screen ("Drop files here"). No historical data is shown.
- User uploads files.
- Desktop updates in real-time as files arrive. Staff reviews and "Accepts" them into the permanent record.