Overview

RRA File Upload is a PHP application for authorized Radiant Rose Academy staff to upload, find, download, and delete Academy media. The WordPress site embeds its management interface. File contents are stored in Amazon S3, while local application metadata supports the file list and download lookup.

ItemDetails
Live applicationf.radiantroseacademy.com
Source repositoryits-consulting-inc/rra-files
RuntimePHP 8.4 with Apache
User interfaceServer-rendered PHP pages; Dropzone.js handles multi-file uploads
File storageAmazon S3 in ca-central-1
Metadata and cacheLocal JSON files under forbidden_dir/file_uploads/ and forbidden_dir/
DatabaseNo database is used by the primary file-management flow

Main functions

  • Upload files: staff can upload one or more files and attach notes or a description. Keep the upload page open until it reports success or an error.
  • Find files: the file list provides searchable entries and links for previously uploaded files.
  • Download and delete: staff can retrieve or remove files through the management interface, subject to the access granted to their session.
  • Review AWS objects: a separate AWS list reads the bucket directly and can help locate objects that are present in S3 but missing from the local metadata list. This view may load slowly for a large bucket.

Sign-in and embedding

The WordPress integration requests a short-lived token from the file service and embeds the application in the user’s browser. The browser then establishes session and CSRF state with the file service. WordPress sign-in alone does not grant access to this separate application; valid authentication and page permissions are required. Tokens are IP-bound and expire, so changes in client network or address can require a new session.

The WordPress theme integration is maintained outside the application repository.