A lightweight and secure web-based file manager built with PHP. Includes user authentication and database integration for enhanced control and protection.
- ✅ User login system (MySQL-based authentication)
- 🗂️ File and folder browsing
- 📄 File viewing and editing (soon)
- ⬆️ File upload and ⬇️ download (soon)
- 📁 Folder creation (soon)
- ✏️ Rename, move, and delete files/folders (soon)
- 🔐 Session handling and access control
- 💡 Responsive and intuitive user interface
- 📥 Email Notifications (soon)
- PHP 8.0 or higher
- MySQL database
- Composer
-
Clone the repository:
git clone https://github.com/your-username/project-name.git
-
Navigate to the project directory:
cd project-name -
Install dependencies via Composer:
composer install
-
Create the database
Import the database.sql file into your MySQL server to create the required tables and sample user.
- Configure the database connection
Edit the file .env and set your MySQL credentials:
-
From the project root, run:
php -S localhost:8000 -t public
-
Open your browser and visit: http://localhost:8000
-
Default credentials are currently being used:
email: [email protected]
password: 1234
- Only authenticated users can access the file manager.
- Sessions are used to maintain login state.
- All user input is sanitized to prevent SQL injection and XSS attacks.
- Still, always restrict access to trusted users if hosting publicly.
- Update UI styles via
assets/ - Adjust allowed file types or actions in
includes/functions.php - Extend the login system or roles if needed
Developed by Ferreira9006
Built for simplicity, extended for security.