Here very useful code to download a specific file ONLY if you have the correct ID
This script can be used for student to download student card ID.
Or invitation number for an event ... an so on.
Here these 2 ID's are working and have different content
Use these ID's