An open API service indexing awesome lists of open source software.

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.

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
![Folder Structure](screenshots/folder-structure.png)

### πŸ‘₯ User Creation and Group Assignment
![User Creation](screenshots/user-creation.png)

### βœ… Successful Access by Correct User
![Access Success](screenshots/access-success.png)

### ❌ Blocked Access to Unauthorized Folder
![Access Denied](screenshots/access-denied.png)