InnerWeb
Skip to main content

QR or RFID card: identification good practices at the plant gate

A QR badge next to an RFID card is an arrangement found at a growing number of plants, but the two carriers do not give the same certainty about identity. The card recognises a number, while the badge points to a record with valid trainings and permits. Below are the practices that let security use both carriers without gaps.

128 bit
length of the AES cipher in DESFire EV3
256 bit
length of the QR badge token
Source: karta

What the card confirms and what the badge confirms

A 125 kHz EM/Prox card passes a fixed identification number to the reader without authentication and without encryption, so any reader compatible with this frequency can read that number. The card therefore confirms only that someone held a carrier with a given number, not that the holder is its owner.

A QR badge has a unique, random token of 256 bits. The code points to a record in the system and contains no personal data. At the gate the scan alone is an act of control: the first scan with a green verdict records an entry, the second an exit, and a scan with a red verdict records a refusal.

Identification practices that work

Below are the practices, ordered from the most important for the security manager.

Do not base authentication on the UID number alone

MIFARE Classic is vulnerable to cloning of the UID number on cards with a changeable UID, so a system relying only on the UID can be fooled. Newer chips, for example DESFire EV3, work under the ISO/IEC 14443 type A standard and offer a hardware AES 128-bit cipher with mutual authentication.

Leave the decision to open with the plant

The InnerWeb system records the scan and the verdict, but it does not open the gate itself. Opening still depends on a person or on the client's equipment, which keeps responsibility for an event clear.

Base the verdict on the state of permissions, not on the carrier alone

The gate verdict consists of valid trainings, qualifications for dangerous work, a permit in progress and an active account. As a result, a person with a correct card but without a valid training gets a red verdict.

Cancel the badge instead of fixing it

Cancellation issues a new badge while keeping the history. A lost or photographed code stops working, and the records stay continuous.

Length of the cryptographic material of the carriers

Length of the cryptographic material of the carriersBar chart: 125 kHz card without cipher 0 bits, DESFire EV3 128 bits, QR badge token 256 bits0100200300bit125 kHz card (no cipher): 0 bit0 bit125 kHz card (no cipher)DESFire EV3 (AES): 128 bit128 bitDESFire EV3 (AES)QR badge token: 256 bit256 bitQR badge token
Source: NXP MIFARE DESFire EV3 (AES 128-bit); description of the QR badge function (256-bit token); 125 kHz card without encryption

How to combine both carriers without duplication

The simplest arrangement is a division of responsibility: the RFID card serves the existing passages with access control readers, and the QR badge serves the gate and control points where there is no reader. InnerWeb is a software producer: it does not manufacture or replace readers and access control cards, but integrates with the client's existing access control system.

The same code serves the gate, the invitation, the control on the shop floor and the login to training. Security does not have to remember different carriers for different purposes, but it has to know which carrier is binding at which passage.

Mistakes security makes most often

The first mistake is issuing a replacement card without cancelling the previous one, so two carriers of one record work in parallel. The second is accepting a scan without looking at the screen with the owner of the code. The third is having no procedure for a red verdict: without one, security improvises.

The fourth mistake concerns training tablets: a scan logs nothing there on its own, and the screen shows the owner of the code, so the training starts only after confirmation by a person. Skipping this step gives a training credited to someone else's record.

Checklist

Video

Frequently asked questions

Is a QR badge safer than a 125 kHz card?

A 125 kHz card passes a fixed number without authentication and encryption, while the badge has a random token of 256 bits linked to a record in the system. Protection levels differ, so they are assessed together with the gate procedure.

Will InnerWeb replace our readers?

No. InnerWeb is a software producer and integrates with the client's existing access control system; it does not manufacture readers or access control cards.

What does a red verdict mean?

At least one component of the verdict, that is a training, a qualification, a permit or an account, is not valid. The system records the refusal, and a person takes the further decision.

Sources

Let us review identification at the gate

Together with security we will go through the scan path and the verdict at a chosen gate. Contact us for a talk.

Let's talk