Secure File Sharing APP

This was my introduction project to PHP. A simple, secure, and self-hosted file-sharing web application written in PHP + SQLite. Supports user authentication, password-protected uploads, file expiry, and a clean user dashboard to manage files.

I didn't see the benefit of using PHP before but after using it for the first time for this project I have to admit it's a very powerful and cool programming language .

The app allows users to sign up or login. A token is generated to keed the session active and its validity is verified at each action otherwise the user would have to login again. The credentials and users are stored in an SQL database.

The user can then upload files (only a certain type is allowed), set the expiration date and set a password for the download if wanted. The user can also make the file expire whenever he wants to. A link is generated to download the file that the user can share with his friends. All the data related to files are also stored in the database.