Repository navigation
Private Landing v1.0.0
🔐 Authentication Reference Implementation for Cloudflare Workers
This release establishes Private Landing v1.0.0 as a stable authentication reference implementation for Cloudflare Workers. It demonstrates modern, security-focused authentication patterns and serves as a learning and starting point for real-world systems.
Private Landing prioritizes clarity, correctness, and documentation over completeness. The README intentionally guides readers through the remaining steps required to harden and adapt the system for production use.
What’s Included
-
🔐 Authentication Primitives
NIST-aligned password handling using PBKDF2-SHA384 -
📱 Session Management Model
Device-aware sessions, IP tracking, sliding expiration, and revocation patterns -
🗄️ SQLite Reference Schema
Example production-style schemas, migrations, and management tooling (Turso-compatible) -
🚀 Edge-First Architecture
Built for Cloudflare Workers using Hono, optimized for edge execution -
💻 Developer Experience
Full TypeScript coverage, automated formatting, and extensive documentation -
⚡ Security Baselines
CSRF protection patterns, secure cookie handling, and rate-limiting hooks -
📦 Monorepo Structure
Clear package boundaries with workspace dependencies
License & Compliance
- 100% Apache-2.0 licensed
- No GPL / AGPL dependencies
- Enterprise-safe dependency tree
Technical Highlights
Authentication Model
- JWT-based access tokens linked to persistent sessions
- Access tokens (15 minutes) + refresh tokens (7 days)
- HTTP-only secure cookies with CSRF protection
- Session lifecycle modeling with device and IP awareness
Security Practices
- NIST SP 800-63B–aligned password storage
- PBKDF2-SHA384 with 100,000 iterations
- Type-safe validation with runtime guarantees
Database Design
- SQLite schema optimized for Turso
- Automated migrations and backups
- Sliding session expiration examples
Packages (v1.0.0)
@private-landing/core@private-landing/infrastructure@private-landing/schemas@private-landing/types@private-landing/cloudflare-workers
Intended Use
Private Landing is intended for:
- Education & learning around modern authentication systems
- Reference architecture for Cloudflare Workers
- Bootstrapping custom authentication implementations
- Security review and discussion
It is not a turnkey production authentication service.
Stability
Private Landing v1.0.x reflects a stable reference baseline.
Changes will prioritize clarity, correctness, and documentation over feature expansion.