BlogInnovate for the AI Era: Get the latest MongoDB.local NYC 2025 news and updates! Read the blog >
NewModernize 2-3x faster with MongoDB’s AI-powered Application Modernization Platform. Learn more >
NewSearch & Vector Search now in public preview for Community Edition Read the blog >

White Paper

Working With Sensitive Data While Keeping It Secure: A Guide to Data Masking

Data masking is a well-established approach to protecting sensitive data in a database while still allowing the data to be usable. By subtly obscuring your data, either temporarily or permanently, data masking allows your engineering teams to use sensitive data while keeping it confidential, secure, and safe. Data masking can also make it easier to comply with regulations such as GDPR and HIPAA.

MongoDB supports data masking through the core feature of an aggregation pipeline. In this paper, we explore:

  • How to determine which data should be masked
  • Construction of the aggregation pipeline
  • How to safely expose masked data
  • Additional resources about data masking

Read it later?

More like this

View all resources
general_content_white_paper

Innovate With AI: The Future Enterprise

A look at how AI and MongoDB are creating value across industries.

Read E-book
general_content_white_paper

Who Owns Security in the Cloud?

At MongoDB, our overriding mission is to make data easier to work with. This can’t happen if data becomes compromised for any reason

Read White Paper
general_content_white_paper

Application-Driven Intelligence: Defining the Next Wave of Modern Apps

The digital economy demands smarter applications and faster predictive insights

Read White Paper