File Server API
File Server API
o Allow only specific, safe file types (e.g., .pdf, .docx, .xlsx, .jpg).
o Reject executables, scripts, or potentially harmful formats (.exe, .js, .bat, etc.).
o Remove or replace invalid or dangerous characters (e.g., \ / : * ? " < > |).
o Limit file size (e.g., max 10MB) to prevent abuse and DoS attacks.
o Enforce secure access using JWT tokens for user and application-level access control.
B. Storage Architecture
9. FileStorage/
o Required fields:
3. Application Name
4. File Name
5. File Size
6. File Path
7. Timestamp
8. Server Name
9. Server IP
10. Client IP
D. Operational Enhancements
3. Path
4. Upload Timestamp
6. Application
7. Project/Folder
8. File Size
9. Mime Type
22. Versioning