← Selected projects

LOCAL ENGINEERING CASE / 01

College Materials Archive

Keeping ownership, versions and review decisions consistent across file search, downloads and exports.

Vue 3Spring BootAuthorizationFile lifecycle
Source review
2026.10.13
Public material
Case analysis & synthetic sketch
Validation scope
Source review; no integration rerun

Current archive demo

Public archive captured on 13 November, using synthetic files and browser-local state.

Captured 13 Nov 2026 · Current archive demo
Captured 13 Nov 2026 · Mobile public demo

Open the current demo ↗ · Updated screenshot gallery

01 / PROBLEM & DESIGN

File ownership, versions and review

Teaching materials belong to both an individual uploader and a college. Uploading a file with the same name should preserve its version relationship. Reviewers need pending materials and rejection reasons, while every route to a file needs the same access boundary.

StageImplementation observed in source
UploadPer-file progress; server checks empty input, size, extension and category permissions.
VersionsActive same-name files from the same uploader increment their version number and link to the previous version.
AccessTeachers view their own files; administrators and super administrators query files within their college.
ReviewManagement roles approve or reject. Rejection requires a reason; reviewer and time are recorded.
Export & auditLists, CSV and print reuse the query scope. Upload, review, download, export, preview and logical deletion write operation logs.

02 / ENGINEERING DECISIONS

Download permissions and file storage

01

Authorization lives on the server

Hiding a button improves the interface but does not protect the resource. Download, review and export endpoints must verify ownership and college scope independently.

02

A version is not a review state

Version history expresses content evolution; review state expresses whether the current material meets requirements. They require separate fields and transitions.

03

Database and disk can diverge

The implementation removes a newly written file if metadata insertion fails. Interruptions, logging failures and orphan-file cleanup still need explicit recovery strategies.

03 / SYNTHETIC POLICY SKETCH

Ownership and college scope

Synthetic resources and simplified client-side policy. This is not the original system or an application screenshot.

SYNTHETIC / COLLEGE A

FileOwnerVersionReview state

04 / EVIDENCE & NEXT STEPS

Implementation records and further checks

Evidence and limits

The original system analysis is based on a source review dated 13 October 2026; its integration tests were not rerun. The new screenshots above were captured from the separate public demo on 13 November 2026 and do not establish deployment or backend validation of the original system.

Concurrent version increments need further tests. Extension validation does not scan malicious files, and persistent logs are not tamper-proof audit records. Office previews, resumable uploads and external scanning require separate integration.

A testable research extension

For a fixed role and resource, do query, download, review and export agree on authorization? The next step is a role × college × file-state test matrix with explicit unauthorized counterexamples.

Public material contains engineering analysis and a synthetic sketch. Original configuration, databases, attachments, user records and full application source are excluded.