
Cover image for the revamped default privacy mode feature in LaunchDarkly.
<h1>Hello World</h1> as <h1>1f0eqo jw02d</h1>.
Previously, this mode was all or nothing, and there was little support to intelligently hide your
personal information. Today we’re excited to announce “default” privacy mode. As the name
suggests, this mode will be enabled by default on SDK versions 8.0.0 and later. Default mode
offers a smart level of privacy by obfuscating text that matches names and patterns associated with
common personal identifiable information.

Example of default privacy mode obfuscating personal identifiable information in the DOM.
UserId
matches a long number regex expression, designed to catch phone numbers. We expect this to
over-obfuscate certain texts, since there is no context being used to determine the “identifiable”
aspect of data. Determining context is difficult to do in real time, but an improvement area we are
looking into. Second, text broken up by different elements may not be obfuscated, despite the overall
text being recognized by a regex expression. For example, <div>spencer@<b>highlight</b>.io</div>
matches the email regex, but is broken up by a bold element. While this algorithm is not flawless, we
believe this solution is a great option for companies that want to minimize exposing data without going
the nuclear option. It represents a significant step forward in helping you safeguard your customer
data, and we are looking forward to improving and building additional privacy options. For any questions
or comments, don’t hesitate to reach out to us on discord.