JEDI Security • Matrix File Share (PHP + JS, no SQL)
====================================================

What this does
--------------
- One-page uploader with Matrix theme (green + ice-blue accents)
- AJAX upload with progress bar
- On success, the page RELOADS with ?link=... and auto-copies the link
- Blocks risky uploads by extension (php/html/js/etc.)
- Stores files under /uploads/YYYY/MM/ with randomized names (no overwrite)

Files
-----
- index.php      : UI + Matrix rain + upload + auto-copy-on-reload
- upload.php     : upload handler returning JSON
- uploads/       : uploaded file storage (writeable)
- uploads/.htaccess : prevents script execution + directory listing

Deploy
------
1) Upload this folder contents to your web root (e.g. public_html/)
2) Ensure the /uploads folder is writable by the web server user
   - Typical fix: chmod 0777 uploads (or better: correct ownership/permissions)
3) If you're on Apache, .htaccess will apply hardening rules.
   If you're on Nginx, replicate the same restrictions in your server config.

Optional tuning
--------------
- Max upload size:
  - PHP settings (php.ini / .user.ini):
    upload_max_filesize=2048M
    post_max_size=2048M
    max_execution_time=3600
    max_input_time=3600
    memory_limit=512M

Security notes
--------------
- This is a *public* uploader. If you want anti-abuse without accounts:
  - Add an optional upload token (simple shared secret in config.php)
  - Rate-limit by IP (flat-file counters)
  - Add CAPTCHA (last resort)

Branding
--------
- The UI says: "JEDI Security • File Share"
- Host pill shows: jedisecurity.cloud

