Institutional Repository of Vilnius University
Expanding cloud storage capabilities with encryption and editing /
Abstract
dc:descriptionThe bachelor's thesis analyses the security and compliance challenges arising from widespread cloud storage adoption, where sensitive documents are routinely entrusted to external providers, increasing risks of unauthorized access, data leaks, and GDPR violations. This work addresses the technical problem of enabling end-to-end encrypted document workflows that maintain server-side zero-knowledge confidentiality while supporting collaborative redaction by authorized parties. Employing a constructive research methodology, this thesis designs and implements a functional prototype system named "Secure Stride." The architecture adopts a hybrid client-server model where all cryptographic operations are performed exclusively in the browser using the Web Crypto API. Documents are encrypted on the client side with AES-GCM-256 using per-file Data Encryption Keys (DEKs) and unique initialization vectors. The encrypted blobs are uploaded directly to S3-compatible object storage via presigned URLs, ensuring the application server never handles plaintext content. The server, built with Bun runtime and TanStack Start, manages only metadata, user sessions, role-based access control (RBAC), and audit logging in a PostgreSQL database. The thesis evaluates three cryptographic key distribution schemes: proxy re-encryption, attribute-based encryption, and envelope encryption, concluding that envelope encryption offers the optimal balance of security and browser feasibility for multi-recipient access control. The current prototype implements a simplified key management approach suitable for demonstrating RBAC workflows, with per-user key wrapping using RSA-OAEP identified as the necessary enhancement for production deployment to protect against database compromise. For document editing, the system provides a manual redaction interface using HTML5 Canvas, enabling users to obscure sensitive information entirely client-side before re-encryption. Preliminary work on automated PII detection integrates Tesseract OCR and Microsoft Presidio framework within a containerized microservice architecture, projected to achieve approximately 21.1% F1-score on high-quality scanned documents while preserving zero-knowledge properties. The thesis concludes that browser-based end-to-end encryption provides a viable mechanism for secure document management systems, successfully reconciling confidentiality with multi-user access processing requirements.
Degree
thesis:*- Grantor dc:publisher
- Institutional Repository of Vilnius University
- Year dc:date
- 2026
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Lukaitis, Titas,
Subjects
dc:subject × 1Rights
dc:rights- Statement dc:rights
-
- info:eu-repo/semantics/openAccess
- Language dc:language
- eng
Identifiers
dc:identifier.*- Repository record dc:identifier
- https://repository.vu.lt/VU:ELABAETD277687986&prefLang=en_US