Iurii RoguliaIurii Rogulia
AboutServicesPricingProjectsStackReviewsPhrasesBlog
Contact
Iurii ships.

Iurii Rogulia, senior full-stack software engineer. Professionally building software since 2001.

Think of a number
PricingQuality checklistPrivacy PolicyCookie Policy

Business

TMI Iurii Rogulia
VAT ID: FI29845875
DUNS: 368664211
Lappeenranta, Finland 🇫🇮

[email protected]
All tags

Iurii Uses: #Security

1 project · 10 articles

Security projects and articles address web application security — authentication hardening, SQL injection prevention, secrets management, dependency auditing, and building systems that resist common attacks.

Projects

HTPBE? — Has This PDF Been Edited?
HTPBE? — Has This PDF Been Edited?
September 25, 2024
HTPBE? — Has This PDF Been Edited?

SaaS platform for PDF authenticity verification with a public REST API.

Stack

Next.jsReactTypeScript

Libraries

Drizzle ORMZodNextAuth.jspdf-lib

Databases

PostgreSQL

Services

MollieResendGoogle Analytics

Topics

SaaSPDFAPIAuthSecuritySEOSchema.org

Articles

API Key Management for a Public SaaS API
August 5, 2026· 13 min
API Key Management for a Public SaaS API

API key management for a public SaaS: hashing keys at rest, prefix + last-4 display, fail-closed validation, and revocation — plus the scoping, rotation, and

Stack

TypeScriptNode.jsHono

Libraries

Drizzle ORM

Databases

PostgreSQL

Topics

SaaSAPIAuthSecurity
Gated B2B Pricing in Next.js: Hiding Prices Behind Per-Customer Access
July 24, 2026· 9 min
Gated B2B Pricing in Next.js: Hiding Prices Behind Per-Customer Access

Gated B2B pricing in Next.js: per-account price lists, server-side access control so prices never leak to crawlers, and a deal-record data model where every

Stack

Next.jsReactTypeScript

Databases

PostgreSQL

Topics

B2BE-commerceAuthSSRArchitectureSecurity
Webhook Security Beyond the Signature Check
July 17, 2026· 14 min
Webhook Security Beyond the Signature Check

Webhook security past the signature: replay attacks, payload trust, DoS, IP allow-listing, and secret rotation — what verification does not protect.

Stack

Next.jsTypeScriptNode.js

Topics

APIWebhooksSecurityWeb Development
Multi-Tenant SaaS Database Design: Shared Schema vs Schema-per-Tenant
June 19, 2026· 18 min
Multi-Tenant SaaS Database Design: Shared Schema vs Schema-per-Tenant

Multi-tenant SaaS database design: shared schema with RLS, schema-per-tenant, and database-per-tenant — trade-offs, real pitfalls, and when to use each.

Stack

TypeScriptNode.js

Libraries

Drizzle ORM

Databases

PostgreSQL

Topics

SaaSArchitectureSecurity
Vibe Coding Problems: What AI-Generated Code Gets Wrong
May 28, 2026· 14 min
Vibe Coding Problems: What AI-Generated Code Gets Wrong

Vibe-coded codebase problems: duplicate auth flows, tests that assert nothing, unused dependencies, security shortcuts, schema drift — why they happen and how

Topics

AITechnical DebtArchitectureBest PracticesSecurity
JWT vs Sessions vs OAuth: Which to Use for SaaS Auth
May 14, 2026· 15 min
JWT vs Sessions vs OAuth: Which to Use for SaaS Auth

JWT vs sessions vs OAuth for SaaS: token invalidation, mobile clients, refresh token rotation, and a decision matrix to pick the right auth pattern.

Stack

Next.jsTypeScriptNode.js

Libraries

Better Auth

Databases

PostgreSQLRedis

Topics

SaaSAuthArchitectureSecurity
How to Take Over a Codebase from a Web Agency (5-Day Process)
April 27, 2026· 12 min
How to Take Over a Codebase from a Web Agency (5-Day Process)

Agency codebase handover checklist: first 48 hours, security triage, architecture mapping, and how to write a takeover assessment. Practical guide.

Stack

TypeScriptNode.js

Topics

ArchitectureTechnical DebtSecurityProcess
Cloudflare WAF Free Plan: Block Bots Without Paying
April 14, 2026· 8 min
Cloudflare WAF Free Plan: Block Bots Without Paying

Block scanner bots with Cloudflare WAF on the free plan. Exact rule for /.env, /wp-admin, /xmlrpc — with the starts_with gotcha and curl API deployment.

Services

Cloudflare

Topics

SecurityDevOpsInfrastructure
Next.js 16 proxy.ts Migration: From middleware.ts
April 10, 2026· 10 min
Next.js 16 proxy.ts Migration: From middleware.ts

Migrate middleware.ts to proxy.ts in Next.js 16 without breaking auth.

Stack

Next.jsTypeScript

Topics

SecurityMigrationArchitecture
How to Detect Tampered PDFs (Forensics Tutorial)
November 28, 2025· 12 min
How to Detect Tampered PDFs (Forensics Tutorial)

Detect tampered PDFs using xref table analysis, metadata mismatches, orphaned objects, and font changes — 7 forensic markers explained with TypeScript code.

Stack

Next.jsTypeScript

Libraries

pdf-lib

Topics

PDFSecuritySaaS
Iurii RoguliaAvailable

Got a project in mind?

Whether it's a new product, an integration, or scaling an existing system — let's talk about how I can help.

View my projects