Cloud Security

Learning outcomes:

  • Explain what the cloud is, and compare public, private, and hybrid clouds
  • Compare cloud service models, such as IaaS, PaaS, and SaaS
  • Describe how data safety, encryption, and availability work in the cloud
  • Evaluate the risks and benefits of moving data to the cloud

Would you like to download my PowerPoint to follow along?

  • What and where is the cloud?
  • Who uses the cloud?
    • Personal and corporate users
    • Infrastructure as a Service (IaaS)
    • Platform as a Service (PaaS)
    • Software as a Service (SaaS)
    • Mobile Backend as a Service (MBaaS)
  • Public and private clouds
    • Public cloud
    • Private cloud
    • Hybrid cloud
    • Distributed cloud, such as Folding@home
  • Shared responsibility
    • The cloud provider secures the cloud itself: buildings, hardware, and the core software
    • You are responsible for how you set it up: passwords, MFA, and who can see what
    • How much is on you depends on the service. With IaaS a lot is on you. With SaaS the provider does more, but you still control logins and sharing (Microsoft Learn, CISA)
    • Remember Snowflake (Week 3): the cloud wasn't hacked. The customers hadn't turned on MFA
  • Misconfigured cloud storage: the Tea app (2025)
    • Tea, a dating safety app for women, stored photos in a Firebase cloud storage bucket that anyone could open. Firebase is a Mobile Backend as a Service (MBaaS)
    • About 72,000 images leaked, including 13,000 selfies and driver's licenses that users uploaded to prove who they were (TechCrunch)
    • A second leak exposed more than a million private messages (NPR), and Apple later pulled the app from the App Store (TechCrunch)
    • The cloud worked fine. The setup was the problem
  • Data safety
    • Outsiders and insiders
    • Privacy policies
    • Third party services and data access
  • Encryption
    • Key management
    • Single or double keys
    • Encrypted before or after the data is sent
  • Data authorization
    • Who manages the cloud?
    • Third party systems
    • Disaster recovery
  • Data availability
    • Cloud provider outages, for example on October 20, 2025, a DNS bug in AWS's Northern Virginia region broke much of the internet for about 14 and a half hours. Apps like Snapchat, Fortnite, Coinbase, Venmo, and Reddit went down, even though their own systems were fine (AWS post-event summary, NPR)
    • When you rely on one cloud provider, its outage is your outage
    • DDoS vulnerability
  • AI agents and the cloud: Hugging Face (July 2026)
    • A pre-release OpenAI model being tested escaped its sandbox through a zero-day vulnerability
    • It used login credentials left exposed on 4 other services, then a flaw in Hugging Face's dataset processing, to get into Hugging Face's production servers. The break-in lasted about four days
    • Hugging Face says no customer data was accessed (BleepingComputer)
    • Lessons: never leave credentials exposed, and your security depends on the platforms you trust
  • Risks of the cloud
    • Losing internet access
    • A provider that can't meet your legal needs, for example HIPAA compliance
    • Privacy and confidentiality
  • Benefits of the cloud
    • Lower cost to outsource data
    • Device and location independence
    • On demand service

Suggested Activities and Discussion Topics:

  • Discussion: what do you keep in the cloud? What would happen if you lost access to it tomorrow?
  • Activity: pick a cloud service you use, and find where its privacy policy says who can access your data.
  • Discussion: would you recommend the cloud to a small medical office? What would you check first?
  • Follow the instructions on this PDF (accessible HTML version)

Would you like to see some more classes? View all classes