Photo of two PTZ cameras and a bullet camera mounted on a pole against a cloudy sky.
Security & Infrastructure

Bank, Jewelry Store and Residence

Security and Network Infrastructure

0
Manual Restarts
Heat Mapping
Store Analytics
24/7
Monitoring
VLAN
Segmentation

Overview

The Problem

A bank had a QR-code access control system that crashed every few hours. Staff had to manually restart the server in the middle of the working day. The analysis turned up two problems. The first was the architecture: three separate processes (API, a Node.js daemon and a Python service for the serial port) accessed the Arduino's serial port concurrently, with race conditions and duplicated code. The second was zero input validation on QR codes: anyone could submit an arbitrary string and crash the system.

At the same time I was working on a luxury apartment complex and a jewelry store: three completely different contexts, each with specific security requirements and infrastructure to build from scratch.

The Solution

For the bank I rewrote the system as a single Node.js process. Access to each Arduino's serial port goes through a lock, so requests no longer overlap. QR codes get strict input validation with a fixed schema and a cryptographically signed expiration.

For the jewelry store I installed a people counting system with Hikvision cameras and zone heat mapping. The system generates retrospective reports showing which areas receive the most traffic by time slot. This data allowed the owner to reposition high-value items in the highest-visibility zones.

For the residential complex I designed the entire network and security infrastructure: managed switches with separate VLANs for apartments, cameras, intercoms, and guests. Each apartment is isolated from the others at the network level. PTZ cameras on Ajax NVR, IP video intercoms with remote response from smartphones. Not just software configuration: I pulled the cables, installed the racks, configured every switch.

The Result

At the bank nobody has had to restart the server by hand since the rewrite. The jewelry store repositioned its highest-value items into the highest-visibility zones based on the heat-mapping data. The residential complex has a segmented network with 24/7 monitoring.

Key Features

  • Bank QR system: from crashes every few hours to no manual restarts, serial port race condition and input validation fixed
  • Jewelry analytics: people counting + heat mapping, expensive pieces repositioned to high-traffic zones
  • Ajax ecosystem: hub, perimeter/motion/glass sensors, PTZ/dome cameras, NVR, IP video intercoms
  • Segmented network architecture: separate VLANs for apartments/cameras/intercoms/guests with firewall

Technologies Used

VLANsAjaxHikvisionSigned QR codes