Join our Newsletter — 33% off our NHI Course
Home› Guides› Data Warehouses and Data Lakes for Beginners: What…
Guide Data Security

Data Warehouses and Data Lakes for Beginners: What They Hold and How to Keep Them Secure

PDF for newsletter subscribers · free to read online

← All guides
By NHI Mgmt Group, under the editorial direction of Lalit Choda Updated 28 November 2026 11 min read
On this page

Data warehouses and data lakes are large stores where a business collects its data to analyse it.

This guide is for career changers, new IT and data hires and anyone who has heard these words at work. You do not need to write queries to be affected: if your employer keeps customer data for reports, it is probably in one of these stores.

In short

  • A data warehouse holds tidy, organised data ready for reports. A data lake holds raw data of many kinds, as it arrives.
  • Both collect data from many systems in one place, so one weak login can expose a lot at once.
  • In 2024, attackers used stolen passwords to log in to data warehouse accounts that had no second login check.
  • Use a second login check, give people and programs only the data they need, and label sensitive data.

What you will learn

  • Explain the difference between a data warehouse and a data lake.
  • Spot why one central store raises the stakes for security.
  • Check who and what can read the most sensitive data.
  • Ask sensible first questions in a new data or IT job.
Tidy report store (data warehouse)
a store of cleaned, organised data, set up for reports and analysis.
Raw data store (data lake)
a store that keeps data of many kinds in its original form.
Second login check (MFA)
an extra proof, such as a code from an app, needed on top of a password.

What are data warehouses and data lakes?

Think of a tidy filing cabinet and a big storeroom. The filing cabinet has labelled folders, sorted so you can find a report quickly. The storeroom takes every box as it arrives, sorted or not, so you can dig through it later.

A data warehouse is the filing cabinet. Data is cleaned and given a fixed layout before it goes in.[1] Finance and sales reports often come from here.

A data lake is the storeroom. It keeps data in its original form, from spreadsheets to app logs and images. The layout is worked out later, when someone uses the data.[1] Data scientists often work here.

Many firms use both. Some use a mix called a lakehouse, which adds warehouse-style order on top of a lake.

Where the comparison stops working: a real storeroom has one door. A data store can often be reached from anywhere on the internet, by people and by programs, unless someone limits it.

Why does it matter?

These stores bring data from many systems into one place. That is what makes them useful, and also what makes them a target. In 2024, attackers logged in to about 165 organisations' data warehouse accounts at one provider, Snowflake. Investigators found the attackers used stolen passwords, and the accounts had no second login check.[2] Read The Snowflake Customer Breaches for Beginners for the full story.

If you are changing career into data or IT

What could happen: you are given wide access "to get started", and nobody takes it away later.

Check this: ask what data you actually need, and say so if you can see much more.

Next: Least Privilege for Beginners

If you are a new IT hire

What could happen: a shared or old login to the data store still works, with no second check.

Check this: find out whether every login to the store needs MFA, and who owns each one.

Next: Multi-Factor Authentication for Beginners

If you manage a team that uses reports

What could happen: customer names and health details sit in a report that the whole company can open.

Check this: ask which reports hold personal data, and who can see them.

Next: Data Classification for Beginners

What does it look like?

Here is a made-up summary of who can reach a pharmacy chain's data store. It shows common problems.

Example only. All values are made up.

Access summary: EXAMPLE-WAREHOUSE
Table: customers (name, address, medicines)
  analysts_team     read all columns       (1)
  report_app        read all, no expiry    (2)
  old_contractor    password only, no MFA  (3)
Folder: lake/raw/uploads
  public link       anyone with the link   (4)
  1. Every analyst can see medicines, even those who only count sales.
  2. A program's account with full read access and a password that never changes.
  3. A former contractor's login that still works with just a password.
  4. A raw data folder shared by link, so anyone who has the link may open it.

Why this is risky: one stolen password or one leaked link could expose every customer's details. The Snowflake cases involved logins with no second check and passwords that had not been changed for years.[2]

The safer way: each login has an owner and a second check. Medicines are hidden from people who do not need them. Raw data folders block public sharing.[4]

How does it work?

Data reaches a warehouse or lake in a few steps. Security has a job at each one.

  1. Collect. Programs copy data from shop tills, websites and apps. These programs log in with their own accounts, a type of service account.
  2. Store. The data lands in the lake, and tidy copies go to the warehouse. Stored data is usually scrambled with encryption (scrambling it so only key holders can read it).
  3. Label. Sensitive data, such as health details, is labelled. A data catalogue (a list of what data exists and where) helps people find it.
  4. Control. Each person and program gets only the data they need. Some tools can hide single columns, such as a medicines column, from people without permission.[3]
  5. Watch. The store keeps a log of who looked at what. Someone checks it for odd activity, such as a huge download at night.
Diagram titled Where the data comes from and where it goes. Three source boxes on the left, labelled shop tills, website and apps, feed arrows into a large box labelled Data lake: raw data as it arrives. An arrow labelled clean and organise leads to a box labelled Data warehouse: tidy data for reports. Arrows lead from both stores to the people and programs who use the data: analysts, reports and data scientists. A green-edged box near the bottom lists the checks at the store: second login check, only the data each needs, labels and logs. A green bar says one store holds data from many places, so protect the way in.
Figure 1. Data from many systems flows into one place, so the way in needs the most care.

Programs that move data need their own accounts too. These program accounts are a kind of non-human identity (NHI). An NHI is a digital identity, or the credential behind it, that represents a machine, application, automated process, service or AI agent. Many programs cannot use a code from a phone app, so their passwords and keys need extra care. That means an owner, limited access and regular changes.

Before and after diagram titled Who can open the medicines column. Left panel, labelled Risky: every analyst can read all columns, a report program has full access with a password that never changes, an old contractor login works with a password only, and a raw folder is shared by public link. Right panel, labelled Safer: analysts see sales counts and the medicines column is hidden, the report program reads only the tables it needs and its key is changed regularly, the old contractor login is removed and every person uses a second login check, and public sharing is blocked. A green bar says give each person and program only the data they need.
Figure 2. Risky and safer access to the same sensitive data.

A worked example

Xena Rinaldi has just joined Alder Pharmacy, a fictional chain of twenty chemists, as a junior data analyst. Her first task is a weekly sales report.

On her first day, she notices she can open a table with customer names and the medicines they collect. She only needs sales totals. She remembers the filing cabinet: she was handed the key to every drawer, not just the one she needs.

She mentions it to her manager, Cyrus Zeller. He is glad she asked. Together they look at who else can see that table. The list includes every analyst, a reporting program and a contractor who left last spring.

Cyrus makes a short plan with the IT team. First, they switch off the old contractor's login. Next, they turn on a second login check for every person who signs in. Then they hide the medicines column from anyone who does not need it, using the tool's column controls.

The reporting program is harder. It cannot use a code from a phone. So they give it its own key, with access only to the sales tables, and set a reminder to change the key regularly. They name one person as its owner.

Last, they check the store's access log for the past three months. They see no unusual downloads in the records available to them.

Xena's report runs as before. The only difference is that it now sees just the data it needs.

Myths and mistakes

What people thinkWhat is true
The provider keeps our data store safe.Providers secure their platform. Your logins, who can see what and your settings are usually your job.[2]
A data lake is just storage, so it needs less care.Raw data often holds more personal detail than tidy reports. It needs the same care, or more.
Everyone in the data team needs to see everything.Most people need only part of the data. Tools can hide sensitive columns from those who do not.[3]
A strong password is enough.Passwords can be stolen by malware on a laptop. A second login check makes a stolen password far less useful.[2]
Program accounts are someone else's problem.Programs often hold the widest access. Each one needs an owner, limited access and regular key changes.

What can I do this week?

  • Find out which data stores your team uses and what they hold.
  • Check that every person who logs in uses a second login check.
  • Ask for a list of program accounts, with an owner for each.
  • Look at one sensitive table and see who can read it.
  • Turn off logins for people who have left or moved roles.

Checklist

  • Every person who logs in to the store uses MFA.
  • Every program account has a named owner and only the access it needs.
  • Passwords and keys for programs are changed on a schedule.
  • Sensitive data is labelled, and sensitive columns are hidden from people who do not need them.
  • Logins are removed when people leave or change roles.
  • Raw data folders do not allow public sharing.
  • Access logs are switched on and someone checks them.
  • Logins are limited to trusted networks where the tool allows it.[2]

Common questions

What is the difference between a data warehouse and a database?

A database usually runs one app day to day, such as a shop's orders. A data warehouse collects copies of data from many databases and other sources, so people can run reports across all of them. See How Databases Work for Beginners.

What is a lakehouse?

A lakehouse is a mix of the two. It keeps data in lake-style storage but adds warehouse-style order, such as tables and stricter access controls. Many modern data platforms describe themselves this way.

Are Snowflake, BigQuery and Redshift data warehouses?

Yes, they are well-known cloud data warehouse services. Databricks and Microsoft Fabric are often called lakehouse platforms. The ideas in this guide apply to all of them, though each has its own settings and names.

Who is responsible for securing a cloud data warehouse?

The work is shared. The provider runs and secures the platform. The customer usually controls who can log in, what each person and program can see, and settings such as second login checks and network limits.

Do data stores need encryption?

Yes, and many cloud services scramble stored data by default. Encryption helps if disks or backups are stolen. It does not help if someone logs in with a valid password, because the store unscrambles data for anyone it lets in.

Where next?

Ready for the detail? Read the practitioner guide: Data Lake Security Guide. It goes further into data lake layers, access models, catalogue checks and file-level encryption.

Also useful:

Related NHI Mgmt Group resources: Data warehouse and lakehouse health check · Security Requirements for Selecting a Data Warehouse or Lakehouse · Data Governance and Data Catalogue Security Guide

Key terms

Data warehouse
A store of cleaned, organised data, set up for reports and analysis.
Data lake
A store that keeps structured and unstructured data in its original form.
Data lakehouse
A data platform that adds warehouse-style tables and controls on top of lake storage.
Data catalogue
A list of what data an organisation holds, where it is and who owns it.
Column-level security
A control that hides chosen columns of a table from people without permission.
Service account
An account used by a program rather than a person.
Non-human identity (NHI)
A digital identity, or the credential behind it, that represents a machine, application, automated process, service or AI agent.
Encryption
Scrambling data so only someone with the right key can read it.

Sources and further reading

  1. What is a Data Lake? Amazon Web Services. https://aws.amazon.com/what-is/data-lake/, accessed 28 Nov 2026.
  2. UNC5537 Targets Snowflake Customer Instances for Data Theft and Extortion. Mandiant, Google Cloud, 10 June 2024, updated 17 June 2024. https://cloud.google.com/blog/topics/threat-intelligence/unc5537-snowflake-data-theft-extortion, accessed 28 Nov 2026.
  3. Introduction to column-level access control. BigQuery documentation, Google Cloud. https://docs.cloud.google.com/bigquery/docs/column-level-security-intro, accessed 28 Nov 2026.
  4. Blocking public access to your Amazon S3 storage. Amazon S3 User Guide, Amazon Web Services. https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-control-block-public-access.html, accessed 28 Nov 2026.

PDF for subscribers

Take this guide with you

Every section, table and checklist in one PDF, with links to the sources and related guides. Subscribe to our weekly NHI & AI Identity Journal and we’ll email you a download link.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

PDF Downloads for Newsletter Subscribers

Get the guide

Enter your details and we’ll email you a download link.

The full guide is free to read online. The PDF is a thank you for subscribing.

Fill in all fields marked * and tick both boxes to continue.