Replace the sequential numbers in ticket links with long random codes, show only what the gate needs on each ticket, keep buyers' contact details off the page, and scan every code at the gate so it works once.

One number higher

A festival-goer opens the ticket link from her confirmation email and notices that the address ends in a number. Out of curiosity, she changes the last digit.

The page now shows someone else's ticket: their name, their email address, two weekend passes and a barcode, ready to print. One digit higher again, and there is another.

The festival's ticket page hands every ticket it has sold to anyone who can count.

Why counting works

Many simple ticket and order systems number each sale in turn and use that number in the link they email out. The link is all that stands between a stranger and the ticket.

If the page never checks who is asking, the number is the key, and numbers in sequence are keys anyone can guess. Change one digit and the page obliges.

A short script can open every number in turn within minutes and save every ticket it finds, so the risk is not only from curious buyers.

What a guessable ticket page gives away

The third costs the festival money, since a copied ticket gets someone in for free. The first and last make it a privacy problem, which is far harder to put right once the details are out.

Codes that cannot be guessed

Each ticket's link should carry a long random code instead of an order number: twenty or more letters and digits, chosen by the system, with no pattern from one ticket to the next.

A code like that cannot be reached by counting or guessed in any useful time. The order number can stay in the office, where staff need it.

The same goes for the barcode. If it holds a number in sequence, a forger can print the next one; if it holds a random code checked against a list, there is nothing to work out.

Checking who is asking

A random link is a good start, but links get forwarded, posted and left in shared inboxes. The ticket itself should show only what the gate needs: a first name, the ticket type, the date and the code.

Leave email addresses, phone numbers and postal codes off the ticket page entirely. Where buyers need to see their full order, put it behind a sign-in or a separate link with its own code.

A gate that refuses a second use

Even with random codes, a buyer can print a ticket twice and hand the copy to a friend. Only the gate can stop that.

Scan or type each code at the entrance against the list of tickets sold, and mark it used. A second copy then shows as already used, along with the time the first came through.

A phone or tablet with a simple scanning page does the job at a small event. Keep a printed list sorted by code as the fallback, in case the signal or the battery fails.

A worked example

A model railway club in Squamish holds a summer show each year in a community hall, with layouts from visiting clubs, a swap table and a small ride-on train for children.

This year it sold advance tickets through its website for the first time. Each buyer received an email with a link to a printable ticket, numbered in order of sale.

A member checking his own ticket changed the number by one and found a family's ticket from the next town, with their names and email address. The gate plan was a volunteer glancing at printouts.

The club's web developer replaced the numbers with long random codes, took email addresses off the ticket page, and left only a first name, the ticket type and a barcode.

At the door, volunteers now scan each barcode with a tablet that marks it used, with a printed list as backup. Tickets already sold were reissued with new codes and a short note explaining why.

The links can no longer be reached by counting, and each ticket, however many times it is printed, lets one person through the door.

Buyers' details and the law

Ticket buyers' names and email addresses are personal information, and an organisation that collects them is expected to keep them reasonably safe.

Alongside the federal privacy law, a few provinces run their own rules for private organisations, and which set applies to a club or a festival turns on where it operates and how it collects and uses the details.

Treat this as an outline of how the rules work in general, not as legal advice on any one event.

If tickets have already gone out

Fixing the page does not recall the links already sent. If the old pages still work, anyone who saved them can still print those tickets.

Switch the old links off, send each buyer a ticket with a new code, and tell them plainly that the earlier one will not scan.

Keep the buyers' list at the gate on the day, so anyone who arrives with an old ticket can be found by name and let in politely.

The counter-case

A small event selling a few dozen tickets to people who mostly know each other has less to lose from a copied ticket.

There, a volunteer with a list of names at the door may be all the check it needs.

Free events that issue tickets only to count heads are in a similar position, since a copied ticket only takes a seat.

But names and email addresses on pages any stranger can open are a problem at any size, and so are links that count upward.

Fixing the tickets before the gates open

  1. Open your own ticket and change the number in its address.
  2. Replace order numbers in links with long random codes.
  3. Show only what the gate needs on the ticket.
  4. Keep email addresses and phone numbers off ticket pages.
  5. Check each code at the gate and mark it used.
  6. Keep a printed list for when the signal fails.
  7. Reissue any tickets sent with the old links.

Step two closes the gap; the rest limit the damage. Until the links stop counting upward, every other measure is working around a page that gives tickets away.

Another way strangers end up reading customers' names on a website turns up in a booking calendar that shows every client's name.


Frequently asked questions

Why is a number at the end of a ticket link a problem?

If the numbers run in order and the page checks nothing else, anyone can change the number and open other buyers' tickets, names included.

What should a ticket link contain instead?

A long random code chosen by the system, with no pattern from one ticket to the next, so tickets cannot be reached by counting or guessing.

What should the printed ticket show?

Only what the gate needs: a first name, the ticket type, the date and the code. Email addresses, phone numbers and postal codes belong elsewhere.

How do we stop the same ticket being printed twice?

Check every code against the list of tickets sold at the gate and mark it used, so a second copy shows as already used.

What about tickets already sent with the old links?

Switch the old links off, send each buyer a new ticket with a random code, and keep the buyers' list at the gate for anyone with an old one.

Is a small event really at risk?

A copied ticket matters less at a small event, but buyers' names and email addresses on pages anyone can open are a problem at any size.

West Coast Media Solutions Inc. provides web design, web development, hosting, digital marketing, and business consulting to organisations across Canada, drawing on more than twenty-five years in the field.

Selling tickets through your website?

Send us one of your ticket links, and we will check what a stranger could open with it before your next event.

Start a Conversation