Safe Cloud is a secure file storage platform built with PHP, designed for uploading, managing, and retrieving files using AWS S3.
It incorporates role-based access control (RBAC), private buckets, pre-signed URLs, and server-side encryption to ensure data confidentiality and integrity.
- Role-Based Access Control (RBAC) — Admin, Editor, and User roles with distinct permissions.
- AWS S3 Integration — All file operations use secure, pre-signed URLs; buckets remain private.
- Server-Side Encryption — Data stored in S3 is encrypted using SSE-S3 or SSE-KMS.
- File & Folder Management — Create, rename, delete, and organize files and folders with role-based visibility.
- System Logs — Track uploads, deletions, and authentication events.
- Secure Authentication — Password hashing, session management, and optional JWT integration.
- Backup & Restore Support — Database and file backups (excluded from public repo).
- Backend: PHP
- Cloud Storage: AWS S3
- Database: MySQL/MariaDB
- Auth: Sessions / JWT
- Hosting: Compatible with any LAMP stack / Ubuntu Server
-```bash sudo apt update sudo apt install apache2 php libapache2-mod-php php-mysql composer unzip mysql-server
cd /var/www/html sudo git clone https://github.com/saileshpulukuri/safe-cloud.git cd safe-cloud
cp .env.example .env nano .env DB_HOST=localhost DB_PORT=3306 DB_DATABASE=safecloud DB_USERNAME=your_mysql_user DB_PASSWORD=your_mysql_password
AWS_REGION=us-east-1 AWS_S3_BUCKET=safe-cloud-prod AWS_ACCESS_KEY_ID=your_key AWS_SECRET_ACCESS_KEY=your_secret
sudo service apache2 restart