files.treyotech.com

A simple yet practical file transfer service
Project Overview
With 98 GB of storage free on my Hostinger Web Hosting plan, I opted to take advantage of the spare space and use it as file storage. I built the app as a small-scale private service for myself and a few friends, using keys to create accounts, which are generated by the admin. Users can create custom links for their files and preview them before downloading them. The service also uses chunk-based file uploads, breaking down large files into 1MB chunks and putting them back together on the server-side. This allows lost data to be resent without having to resend the whole file.
Admin Page
The admin page provides a secure way for me to moderate users without opening the app up to the public. The page has forms for generating account creation and password reset keys. This allows the user to handle changing their password and creating their account themselves, without needing the admin to ever handle their sensitive data. The site takes advantage of PHP Sessions and uses them to authenticate users before handing sensitive data to the client. The admin page provides a table for the admin, which defines how much storage each user is using and the impact it is having on the server's storage.