A document QR code is a shortcut to a hosted file. It is convenient on a form, a product or a noticeboard, and it is also a public doorway into whatever is behind the link. This guide covers the permission settings, the link strategy and the limits of what a QR code can do for security.
A QR Code Is a Link, Not a Security Control
The code contains a URL. Anyone who photographs it, screenshots it or reads the decoded link can share that URL with anyone else. There is no access control in the QR pattern itself.
Security comes from the destination: a login, an expiring token, a restricted share or a page that checks identity. If the document needs protection, the QR code is only the entry point to that protection.
Printing a code that opens a private document is inconsistent. Either make the document genuinely public, or accept that scanners will hit a login and design the experience around it.
Choose the Hosting Model
| Model | Access | Good for | Risk |
|---|---|---|---|
| Own website | Public page or file | Manuals, forms, brochures | You maintain the server |
| Cloud share link | Anyone with the link | Quick distribution | Provider can change behaviour |
| Login-protected portal | Authenticated users | Contracts, customer data | Extra step for the scanner |
| Expiring link | Time-limited | Temporary documents | Link dies on schedule |
For print that lasts, a URL on your own domain is the most durable. You can change the underlying file and keep the same code.
Set Permissions Deliberately
Cloud services default to restricted. A link that works for you may fail for everyone else. Open the link in a private browser window while signed out to see what a stranger sees.
Check whether the link allows viewing only or also editing and downloading. A share link with edit rights on a public poster is a data-integrity problem waiting to happen.
If the file must be private, do not print a code to it at all. Print a code to a request form instead.
Keep the Link Stable
Use a short URL on your domain and redirect it to the current file. If the document is replaced, update the redirect. That avoids reprinting notices, labels and forms.
Keep a register of each printed code, its short URL, the destination and the permission level. When a file moves or a permission changes, that register tells you what to check.
Version the document name so you know which file is live. A link called final-v3-really-final.pdf is a maintenance hazard.
Test as a Stranger
- Scan the code with a phone that is not signed into your accounts.
- Confirm the file opens without a login.
- Confirm the file is the current version.
- Confirm the permission is view-only where appropriate.
- Check on mobile data, not just office Wi-Fi.
The PDF to QR guide covers the file-hosting basics if you are starting from a PDF.
