3 ms·
I understand where you're coming from. I think you're implicitly assuming that once you scan a QR code, your phone automatically opens that URL. That is a faul
by nayuki 2y ago
I understand where you're coming from. I think you're implicitly assuming that once you scan a QR code, your phone automatically opens that URL.
That is a faulty assumption. There's nothing stopping someone from designing a QR code scanner app that simply displays the text (or URL) that was scanned, and gives you the option to open it in a web browser or not.
A QR code is ultimately just a piece of text. It can't harm you if you don't choose to execute it.
> how do I know the difference between your legitimate menu and a rogue QR code somebody slapped over top of it
If someone slapped a rogue QR code on a menu, you would be able to see that it's a sticker on top of paper (or laminated paper). On the other hand, how would you tell if someone just replicated the restaurant's menu and reprinted it in whole?
Anyway, if you want real trust, then the business should publish its cryptographic public key in a conspicuous place in such a way to avoid tampering (e.g. encased in glass in a wall), and then all QR codes will need to be digitally signed by that business before the customer trusts it.
- stop50 2y agothe scanner in my browser and the others that scan generic ones are showing the url before opening it.
- elmerfud 2y agoThey show a partial url usually and often times they are a shortened url from a shortening service. So that's still not solving the problem.
- stop50 2y agoShortened ones are a clear sign that something is off if its an url from a common shortening service. The domainname is also useful.
- nalinidash 2y ago> There's nothing stopping someone from designing a QR code scanner app that simply displays the text (or URL) that was scanned, and gives you the option to open it in a web browser or not. There are many apps those are doing exactly the same thing.My favorite is QR scanner app by SECUSO(https://github.com/SecUSo/privacy-friendly-qr-scanner https://github.com/SecUSo/privacy-friendly-qr-scanner).