You're completely changing the game, pretending that you are protecting against a state intelligence operation or something. It started with someone faking a QR code. There are QR code scanning libraries already created, no need to re-invent the wheel. The airline only needs to ensure they send the request to the real IP for Costamed not some spoof embedded in the fake QR. Costamed needs not be involved at all in this operation. You wouldn't be trying to protect against someone hacking Costamed's side and planting fake test results. No integration necessary. But again, what makes you think the hospitals and clinics aren't reporting to a Mexican government agency?
Exactly! I swear you must be a rarity among software developers, or I only ever work with the difficult ones.
It seems to me as simple at scan the QR which has the website, not the IP embedded. If it goes to google.com, go get the info. g00gle.com, 6oogle.com, etc etc, just error out. Just use my own dns lookup. As the airline, get the approved lab list with their result websites, IF QR points to site in list, THEN load results. IF no, the error.
If the lab IP gets hacked in the DNS look up, or the lab website is compromised, I can engage in that favorite IT thing of "Its not our system, its theirs, so call them."
I know nothing about being a software developer. I do, however, know they are wrong when I want this:
And they want to build this, that I see STILL won't do what I need: