Here is the general problem i’m trying to solve.
I will print a unique QR barcode on a sticker. The QR code will have an embedded page URL and a customer number in the URL String.
I want customers to be able to scan the barcode to access the page, but people
who are not customers or who do not have a valid customer number to not be able
to access the page. So if they have the complete string, they can access, but if the url is missing
the query part of the string, or if they are getting to the page through a google search then they
will not have access to the the page. Kinda of a semi-secure page.
I do not need absolute security. If someone gets ahold of a valid customer number or complete
string or barcode then so be it. Just trying to keep most people out, not all people out.
-
Some QR Bar code stickers will be printed with embedded web page URL address.
-
The address would have a query portion with a unique customer number or a 10 digit key.
-
So something like, “www.marketingpage.com/product01?customer=123456”
-
User would scan the QR with his phone, and would be directed to a web page.
-
I would need to check the customer number to see if it is valid customer?
How? text file? DB? Hard code, SQLite? -
If it is valid then proceed to the “/product01” page.
-
Anyone who scans this bar code, customer or not, would be able to access the page, and I’m OK with that.
-
If someone tries to access the page “www.marketingpage.com/product01” without
the customer id string in the URL then the page would not display. Like from a google search. -
Scale - We have about 1000 customers, accessing 300 pages.
So, what stacks could I use to do this?
Weavers Space - Agent?
Stacks4Stacks - QueryDisplay?
other suggestions?
Thank You.