php - How to secure QR code to be valid for specific user only for 24hrs

I need your help in as per subject securing QR code but under below terms.
- QR code will be available for scan by Hotel room guest.
- Each room will have different QR code
- QR code should be avalieble/accessible 24hrs only unless you scan again as a guest
Now my question here is about idea, how do I can secure it so somebody who will take picture of this QR code and try accessing it from home or elsewhere will get access denied.
This is purely advice and option search topic here, I am not asking for codes examples etc.
I was thinking about having system to generate new tokens for each room every 24hrs which is fine and durable but I am lacking to understand how I can then check this and with what?
Any ideas welcome.
Answer
Solution:
I had to choose to ask for localisation confirmation before the app could be opened. It's not ideal but should give me maximum of what I am trying to achieve.
Share solution ↓
Additional Information:
Link To Answer People are also looking for solutions of the problem: the requested url was not found on this server. xampp
Didn't find the answer?
Our community is visited by hundreds of web development professionals every day. Ask your question and get a quick answer for free.
Similar questions
Find the answer in similar questions on our website.
Write quick answer
Do you know the answer to this question? Write a quick response to it. With your help, we will make our community stronger.