How fullfilm2021/secure-customer-file-manager works
Secure Customer File Manager is an administrator-operated customer directory and encrypted document repository. An administrator enters through the router, authenticates, then manages customer profiles and their files in the dashboard; uploads are validated and stored encrypted, while authenticated download/preview requests decrypt and stream them. The README also documents dashboard statistics, search/filtering, theme controls, and audit trails. Some frontend and AJAX wiring is documented but not shown in source excerpts, so those relationships cite the README; no unsampled implementation details are assumed.
Main entry points: ajax.php File Management API · index.php Entry Router · app.js Dashboard Interactions · download.php Authenticated File Delivery
Components 15
Access and Security
- Entry Router
index.php - Admin Login
login.php - Session and Security
config.php
Customer Management
- Admin Dashboard
admin.php - Dashboard Interactions
assets/js/app.js - Customer and Stats API
ajax.php - Customer Records
ajax.php
Secure Documents
- File Management API
ajax.php - Upload Validation
ajax.php - Encrypted File Store
- Authenticated File Delivery
download.php
Audit and Data
- MySQL Database
- Audit Logging
config.php - Audit Log Viewer
view_logs.php
Other components
- Administrator
Connections 21
- Administrator → Entry Router: opens
README.md - Entry Router → Session and Security: checks session
index.php - Entry Router → Admin Login: redirects to
index.php - Entry Router → Admin Dashboard: redirects to
index.php - Admin Login → Session and Security: uses auth helpers
login.php - Administrator → Admin Dashboard: manages records
README.md - Admin Dashboard → Dashboard Interactions: uses interactions
README.md - Dashboard Interactions → Customer and Stats API: requests AJAX
README.md - Dashboard Interactions → File Management API: requests file actions
README.md - Customer and Stats API → Customer Records: handles requests
ajax.php - Customer and Stats API → MySQL Database: queries records
ajax.php - File Management API → Upload Validation: validates uploads
ajax.php - File Management API → MySQL Database: queries metadata
ajax.php - File Management API → Encrypted File Store: stores uploads
README.md - Administrator → Authenticated File Delivery: requests preview
- Authenticated File Delivery → MySQL Database: reads metadata
download.php - Authenticated File Delivery → Encrypted File Store: reads and decrypts
download.php - Session and Security → MySQL Database: initializes schema
config.php - File Management API → Audit Logging: records activity
ajax.php - Administrator → Audit Log Viewer: reviews activity
README.md - Audit Log Viewer → MySQL Database: reads audit logs
view_logs.php