惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

G
Google Developers Blog
F
Fortinet All Blogs
Microsoft Azure Blog
Microsoft Azure Blog
腾讯CDC
Vercel News
Vercel News
Recent Announcements
Recent Announcements
博客园 - Franky
小众软件
小众软件
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
The Cloudflare Blog
宝玉的分享
宝玉的分享
I
InfoQ
博客园 - 聂微东
Jina AI
Jina AI
J
Java Code Geeks
V
V2EX
U
Unit 42
Stack Overflow Blog
Stack Overflow Blog
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
阮一峰的网络日志
阮一峰的网络日志
L
LangChain Blog
T
The Blog of Author Tim Ferriss
量子位

Datadog | The Monitor blog

Introducing our open source AI-native SAST Instrument and monitor Boomi integration flows with OpenTelemetry and Datadog Not all index scans are equal: How we cut query latency by over 99% Platform engineering metrics: What to measure and what to ignore Integrate Recorded Future threat intelligence with Datadog Cloud SIEM CI/CD security: threat modeling using a MITRE-style threat matrix CI/CD security: How to secure your GitHub ecosystem Ingress NGINX is EOL: A practical guide for migrating to Kubernetes Gateway API Operating agentic AI with Amazon Bedrock AgentCore and Datadog LLM Observability: Lessons from NTT DATA Introducing the Datadog Code Security MCP Capture and analyze custom heatmaps in Session Replay Understand session replays faster with AI summaries and smart chapters Monitor ClickHouse query performance with Datadog Database Monitoring How we designed empathetic alert sounds for on-call engineers Search and act across Datadog to resolve issues faster with Bits Assistant Measure the business impact of every product change with Datadog Experiments Analyzing round trip query latency Configuring JavaScript caches for better performance Introducing Bits AI Dev Agent for Code Security Datadog achieves ISO 42001 certification for responsible AI Monitor Nutanix clusters, hosts, and VMs with Datadog Monitor Juniper Mist in Datadog A new Host Map for modern infrastructure Annotate traces to improve LLM quality with Datadog LLM Observability What’s new in Cloud SIEM: AI-powered investigations, enhanced threat intelligence, and scalable security operations Explore Kubernetes with native OpenTelemetry data Monitor Oracle Fusion Cloud Applications with Datadog Announcing the Datadog Terraform provider v4.0.0 Scaling Kubernetes workloads on custom metrics How to design cloud environments for AI-powered threat analysis
Obfuscate user data with Session Replay default privacy s...
Jordan Obey, Jamie Milstein · 2021-11-19 · via Datadog | The Monitor blog
Jordan Obey

Jordan Obey

Senior Technical Content Writer

Jamie Milstein

Jamie Milstein

Session Replay enables you to replay in a video-like format how users interact with your website to help you understand behavioral patterns and save time troubleshooting. Visibility into user sessions, however, can risk exposing sensitive data and raise privacy concerns. For example, a user session may include typing in a credit card or social security number into an input field. That’s why Datadog Session Replay includes by default configurable privacy settings that provide you with granular control over what data is viewable during a session replay. This means that you can run full analyses on real user behavior across your application while ensuring you keep sensitive data protected and meet security and compliance regulations.

Easily control replay visibility

The amount of sensitive data that’s visible in any given page of your website can vary depending on what users are doing and what sort of application you run. For example, a replay of a user browsing through the catalog of an e-commerce site is likely to show less sensitive data than a replay of a checkout workflow that asks for contact and payment information. It makes sense, then, to configure different privacy settings based on the context of a session replay and use case. Datadog provides three obfuscation options—allow, mask-user-input, and mask—which you can configure on a per-page basis to determine how much detail to obfuscate in a replay.

By default, Session Replay automatically masks all user inputs using the mask-user-input setting. At any time, if you want to modify this—for example, obscuring more or fewer elements—you can simply change the value of the privacy level property within your JavaScript RUM configuration. You can also modify privacy settings through HTML attributes and classes. Privacy settings are inheritable, so each HTML element of your site will inherit the privacy setting of its parent unless otherwise specified. This gives you more granular control over privacy settings and lets you decide on a case-by-case basis which data to obfuscate.

Next, we’ll look at each of the three options and when you might want to use them.

mask

The maximum privacy setting for a session replay is mask. Under this setting, all text will be obfuscated, and any input typed into a form field will be replaced with asterisks. This is especially useful for pages primarily made up of highly sensitive data, such as medical and personal financial records.

The mask privacy setting provides the highest level of security by obfuscating all text and input fields.

mask-user-input

The mask-user-input setting is the default and only obfuscates what users type into a form field. This is particularly useful for web pages that require users to input private data that should be kept hidden, but where the majority of the text on a page is safe to show. For instance, you may use mask-user-input on e-commerce or social media sites that ask users to submit phone numbers, email addresses, and credit card information.

The mask user input privacy setting allows you to partially obfuscate pages to protect user data while enabling you to view the rest of the page to help you understand behavioral patterns.

allow

Some web pages don’t include sensitive data or require users to log in. For instance, perhaps you’re running a digital media site that relies heavily on public, user-facing content like ads and news stories. In that case, you can use the allow setting to keep all text and input fields visible as you record user sessions. This provides you with the highest level of visibility, which makes it easier to observe user behavior directly, verify that content appears as expected, and gain quick insights as you troubleshoot.

Get started with Session Replay privacy settings today

Session Replay’s privacy settings allow you to fine-tune what data is visible when you capture and replay user behavior, so that you can review and analyze how users interact with your site while keeping their data protected. You can learn more about how to get started with Session Replay here. If you aren’t already using Datadog, sign up today for a 14-day free trial.