OPERATING SYSTEMS COURSE PROJECT
A C-based implementation demonstrating OS concepts with POSIX system calls
Developer
Developer
Developer
Understanding the critical need for data protection in modern computing
Protecting sensitive employee records & financial data.
Zero-knowledge security against provider snooping.
Safeguard files on laptops & drives against theft.
Keeping personal chats & photos safe from prying eyes.
A multi-layered approach to file protection
User-friendly ncurses menu for intuitive file selection.
Support for both Caesar and bitwise XOR encryption.
Binary-safe handling for Docs, Images, and PDFs.
Fast, scriptable commands for automation workflows.
Type below to see encryption in action
* Bidirectional: Type in either box!
Interactive wheel demonstrating the modular shift character mapping.
Interactive bitwise operation. Click the bits to toggle them.
The Journey from User Input to Disk Persistence
Crossing the User/Kernel boundary using read() and write(). The OS takes control to perform privileged hardware operations.
Managing resource handles. Every file is an entry in the Process Open File Table, abstracted as a simple integer (fd).
Synchronizing disk speed with CPU logic. Data flows through 4096-byte memory pools to balance performance and reliability.
Key Design Decisions & Optimizations
Binary-Safe I/O ensures images & PDFs never get corrupted.
4KB Buffer implementation reduced syscalls overhead drastically.
Seamlessly switch between Interactive TUI and Scriptable CLI.
Architecting a High-Performance Secure File Service
User A uploads a file. It is immediately encrypted by the daemon before hitting the disk.
The system stores the locked file. It has zero knowledge of the contents.
User B downloads the blob, but can only open it if they possess the correct key.
* Moving from a local CLI tool to a scalable enterprise-grade system service.
Questions & Discussion
github.com/astro-dally/OS_mini_project.git