How raineyri/secure-file-manager works
Secure File Manager is a Python console application for authenticated, per-user file management backed by SQLite. The main workflow is: a user registers or signs in, then uses the console to manage files, structured JSON/XML data, or ZIP archives; file ownership and path checks constrain access, and operations are audited. The graph preserves the documented filesystem-information capability as well. Relationships reflect visible calls and documented behavior; unsampled implementation details are not inferred.
Main entry points: main.py Interactive menus · file_service.py File management · database.py SQLite access · audit_service.py Audit log
Components 13
Console interface
- Interactive menus
main.py
Identity and access
- Registration and login
app/auth.py
File operations
- File management
app/file_service.py - Filesystem information
app/file_service.py - JSON handling
app/json_service.py - XML handling
app/xml_service.py - ZIP archives
app/archive_service.py
Persistence and audit
- Storage configuration
app/config.py - SQLite access
app/database.py - Application database
- Audit log
app/audit_service.py - Managed files
storage
Other components
- Console user
Connections 26
- Console user → Interactive menus: uses
README.md - Interactive menus → Registration and login: registers or authenticates
main.py - Interactive menus → SQLite access: initializes
main.py - Interactive menus → File management: manages files
main.py - Interactive menus → Filesystem information: requests drive details
main.py - Interactive menus → JSON handling: uses JSON menus
main.py - Interactive menus → XML handling: uses XML menus
main.py - Interactive menus → ZIP archives: creates or extracts
main.py - Interactive menus → Audit log: views operations
main.py - Registration and login → SQLite access: queries users
app/auth.py - File management → SQLite access: checks ownership and records files
app/file_service.py - File management → Audit log: logs operations
app/file_service.py - File management → Managed files: reads and writes files
app/file_service.py - Filesystem information → Managed files: measures usage
app/file_service.py - JSON handling → File management: reads and writes through
app/json_service.py - JSON handling → Audit log: logs parse errors
app/json_service.py - XML handling → File management: reads and writes through
app/xml_service.py - XML handling → Audit log: logs parse errors
app/xml_service.py - ZIP archives → File management: validates paths with
app/archive_service.py - ZIP archives → SQLite access: checks ownership and registers files
app/archive_service.py - ZIP archives → Audit log: logs archive actions
app/archive_service.py - ZIP archives → Managed files: creates and extracts archives
app/archive_service.py - SQLite access → Storage configuration: gets database path
app/database.py - SQLite access → Application database: reads and writes
app/database.py - Storage configuration → Managed files: defines managed directory
app/config.py - Audit log → SQLite access: stores and retrieves events
app/audit_service.py