A secure, modern file transfer server with authentication and extension filtering capabilities.
- π Password protection for all operations
- π¨ Modern UI with drag-and-drop capabilities
- βοΈ Configurable file extension rules (whitelist/blacklist)
- π€π₯ Secure file upload/download functionality
- π Built-in security measures:
- File type validation
- Secure filename handling
- HTTP Basic Authentication
- β‘οΈ Real-time upload feedback
- π± Responsive design
- π οΈ CLI configuration options
- Python 3.8+
- pip package manager
# Clone repository
git clone https://github.com/PiCarODD/filevault-server.git
cd filevault-server
# Install dependencies
pip install -r requirements.txt
python filevault.py
- Password protected server on port 9000:
python filevault.py -pass MyStrongPassword! --port 9000
- Whitelist only image files:
python filevault.py -ext png jpg jpeg gif -type whitelist
- Blacklist dangerous extensions:
python filevault.py -ext exe bat sh -type blacklist
- Specify directory
python filevault.py -dir /tmp
- Combined configuration:
python filevault.py -pass Admin123 -ext pdf docx xlsx -type whitelist --port 8080 -dir .
Option | Description | Default |
---|---|---|
-p , --port |
Server port | 5000 |
-pass |
Set password protection | None |
-ext |
File extensions to filter | All allowed |
-type |
Filter type (whitelist/blacklist) | None |
-dir |
Specify Directory | None |
- Always use HTTPS in production environments.
- Regularly rotate passwords.
- Combine with firewall rules for network protection.
- Use a whitelisting approach for maximum security.
- Store uploaded files in an isolated environment.
MIT License - See LICENSE for details.
This is a development server. For production use, consider adding:
- Reverse proxy (e.g., Nginx).
- SSL encryption.
- Rate limiting.
- Detailed audit logging.
- Virus scanning integration.