A computer-readable storage medium having instructions stored thereon that, when executed by a processor of an access control system, cause the access control system to perform operations comprising:
- receiving, from a near field communication reader associated with an entryway that provides access to an area, a first identifier received by the near field communication reader from a near field communication component of a first mobile device associated with a first user;
- in response to receiving, from the near field communication reader, the first identifier provided by the near field communication component of the first mobile device associated with the first user, determining, based on the first identifier, whether the first user is allowed to physically access the area;
- in response to determining that the first user is allowed to physically access the area, causing the entryway to be traversable by the first user to allow the first user and the first mobile device associated with the first user entry to the area through the entryway to physically access the area;
- and
- after the first user and the first mobile device have entered the area through the entryway,
- receiving an output from a camera located within the area,
- in response to receiving the output from the camera located within the area, causing a wireless transceiver located within the area to send a wireless component activation signal, wherein the wireless component activation signal sent by the wireless transceiver causes a wireless communication component of the first mobile device associated with the first user to activate so as to respond to any requests from the wireless transceiver and further causes a wireless communication component of a second mobile device associated with a second user to activate so as to respond to any requests from the wireless transceiver,
- receiving, from the wireless transceiver located within the area, a second identifier and a third identifier, wherein the second identifier is received by the wireless transceiver from the wireless communication component of the first mobile device associated with the first user in response to the wireless transceiver broadcasting a request for an additional identifier after the first mobile device has entered the area through the entryway, and wherein the third identifier is received by the wireless transceiver from the wireless communication component of the second mobile device associated with the second user in response to the wireless transceiver broadcasting the request for an additional,
- determining that the first identifier received by the near field communication reader from the near field communication component of the first mobile device associated with the first user and the second identifier received by the wireless transceiver from the wireless communication component of the first mobile device associated with the first user constitute a first authentication pair, wherein the first authentication pair identifies the first mobile device as being authenticated to access the area,
- determining that a corresponding identifier from a near field communication component of the second mobile device associated with the second user, which along with the third identifier received by the wireless transceiver from the wireless communication component of the second mobile device associated with the second user constitute a second authentication pair, was not received from the near field communication reader, and
- in response to determining that a corresponding identifier from the near field communication component of the second mobile device associated with the second user was not received from the near field communication reader, flagging the second user and the second mobile device as failing to comply with a policy regarding proper entry into the area requiring all mobile devices to scan in via the near field communication reader, wherein the second user tailgates the first user through the entryway into the area.