Skip to content

NSC-BS-CS/CSB425-Lab8_starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lab 8 — Data Security

Setup

  1. Copy your cleaned CSV from Lab 6 into data/cleaned/
  2. Install dependencies: pip install pandas cryptography boto3
  3. Follow the lab instructions in Canvas

Structure

lab8-security/
├── scripts/
│   ├── mask.py               ← Part 1: you complete this
│   └── upload_encrypted.py   ← Part 3: you complete this
├── data/
│   ├── cleaned/              ← copy your Lab 6 CSV here (not committed)
│   └── masked/               ← mask.py writes here (add masked CSV to repo manually)
├── docker-compose.yaml       ← MinIO services
├── questions.md              ← your reflection answers
└── .gitignore

Running

# Part 1 — masking
python scripts/mask.py --api open-meteo   # or open-library / coingecko

# Part 3 — encryption
docker compose up -d minio
docker compose run minio-setup
docker compose run pipeline
docker compose down -v

Submitting

  • Add your masked CSV manually: git add data/masked/your_file_masked.csv
  • Do NOT commit data/cleaned/ or data/encryption.key
  • Add the professor and TA as collaborators on your GitHub repo

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages