From Public Images to Token-Based Access: A Hospital Prescription Image Security Upgrade
1. Project Background: A Seemingly Simple QR Code Access System Recently, I worked on a hospital-related project designed to let patients view prescription medication images by scanning QR codes. The workflow was relatively straightforward. Hospital staff could upload prescription images, add descriptions, and generate a QR code for each patient's prescription page. The QR code would then be included with the medication package and sent to the patient. After receiving the medication, the patient could simply scan the QR code using a smartphone to view the corresponding prescription images and related information. The original workflow looked like this: Hospital staff manage prescription information through an administration panel. They upload prescription images and enter descriptions using a rich text editor. The system generates a corresponding webpage and QR code. The QR code is sent to the patient together with the medication. The patient scans the QR code to view the prescri...