https://github.com/flatopa/secure-file-management
Secure Linux system for multi-user folder access control using Bash, permissions, and automation. Simulates departmental access for HR, IT, Finance, and Marketing.
https://github.com/flatopa/secure-file-management
bash cloud ec2 linux permission sysadmin
Last synced: about 2 months ago
JSON representation
Secure Linux system for multi-user folder access control using Bash, permissions, and automation. Simulates departmental access for HR, IT, Finance, and Marketing.
- Host: GitHub
- URL: https://github.com/flatopa/secure-file-management
- Owner: FLATOPA
- Created: 2025-03-28T20:34:47.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-28T20:59:22.000Z (over 1 year ago)
- Last Synced: 2025-03-28T21:31:32.483Z (over 1 year ago)
- Topics: bash, cloud, ec2, linux, permission, sysadmin
- Language: Shell
- Homepage:
- Size: 0 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# π Secure Multi-User File Management System
## π About This Project
This project simulates a real-world secure file management system using Linux. Itβs designed to control access to department folders (HR, IT, Finance, Marketing) by using Linux groups, user permissions, and shell scripting.
It demonstrates how to:
- Automate user and group creation with Bash
- Restrict folder access using `chmod`, `chown`, and sticky bits
- Simulate company-grade file protection on a Linux server
- Use AWS EC2 and VS Code Remote SSH for real-world DevOps workflow
This is an ideal project for aspiring **System Administrators, Cloud Support Engineers, or DevOps Engineers** looking to showcase hands-on Linux experience.
## π Folder & Permission Structure
The system is organized to simulate departmental access in a real organization:
- Each folder is restricted to its department via group ownership and `chmod 770`
- Sticky bit (`+t`) added to prevent users from deleting each otherβs files
- Root owns all folders, and only group members can access their respective folders
---
## π Security Measures
- Group-based folder access using `chown root:` and `chmod 770`
- Sticky bit for safe shared folder editing (`chmod +t`)
- No `sudo` privileges granted to department users
- Default user environment is isolated via home directories (`/home/`)
## πΈ Screenshots
> Below are snapshots from the setup, access testing, and permissions.
### π Folder Structure After Setup

### π₯ User Creation and Group Assignment

### β
Successful Access by Correct User

### β Blocked Access to Unauthorized Folder
