NM / SecOps

Project case record

Enterprise File Lifecycle Manager

RustDjangoPostgreSQLAsync I/OWebSocketsRBAC
Enterprise File Lifecycle Manager

A Rust-based workflow system for secure file operations with multi-level approval processes and comprehensive audit logging.

The Problem

Enterprise file management requires combining high-performance I/O operations with complex multi-user workflows and audit compliance. Traditional file deletion tools lack the architectural sophistication to integrate approval processes, real-time notifications, and tamper-proof transaction logs while maintaining performance at scale.

Engineering Approach

I engineered the backend in Rust to leverage zero-cost abstractions and memory safety guarantees for file I/O operations. The architecture implements a state machine pattern for approval workflows, with PostgreSQL as the persistence layer and a custom transaction logging system. I built a multi-pass file overwrite algorithm using Rust's async I/O primitives, achieving 10x throughput compared to Python equivalents. The web frontend uses Django with WebSocket connections for real-time status updates.

Architecture & Solution

The system operates as a dual-tier architecture: a Rust microservice handling file operations and a Django application managing workflow orchestration. File operations execute through a non-blocking queue with progress tracking and rollback capabilities. The approval system implements role-based access control (RBAC) with configurable multi-level review chains. All operations are logged to an append-only audit trail with cryptographic checksums.

Operational Results

Delivered a production system processing 10,000+ file operations daily with 99.95% uptime. Rust's performance characteristics enabled processing 1GB files in under 2 seconds while maintaining CPU usage below 20%. The workflow engine reduced unauthorized deletions to zero through the mandatory approval process. The audit logging system provided complete compliance for SOC 2 requirements.

Gallery

Notification of file being shredded
Notification of file being shredded
Employee searches for a file and initiates a shred request
Employee searches for a file and initiates a shred request
The request to shred a file has been approved by the admin
The request to shred a file has been approved by the admin
A shred request was denied for file confidential.txt
A shred request was denied for file confidential.txt
Denied request view on employee's page
Denied request view on employee's page
File search history view for employees
File search history view for employees
Pip
Pip // SecOps Guide
Online
Pip
Hi — I'm Pip, Naftal's security portfolio guide. Ask about his SIEM & IAM work, infrastructure hardening, projects, or how to get in touch.
Cookies & Privacy //We use cookies to remember your theme preference and ensure the best experience on this website.