简体   繁体   English

如何确保 QR 码仅对特定用户有效 24 小时

[英]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 码的主题,我需要您的帮助,但须遵守以下条款。

  • 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 QR 码应仅 24 小时可用/可访问,除非您以访客身份再次扫描

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?我正在考虑让系统每 24 小时为每个房间生成新的令牌,这很好且耐用,但我不明白如何检查这个以及用什么?

Any ideas welcome.欢迎任何想法。

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.这并不理想,但应该给我最大的努力。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM