Focusing on frontend applications, we introduced sensitive text comparators to make sure sensitive info (like email address, user name) is kept hidden in targeting rules.
In this case the feature flag evaluation is based on the secure hashes of the comparison values.
Comparison values in config_v3.json:
Since sensitive text comparators don't support CONTAINS or DOES NOT CONTAIN comparisons, here is an example how to target users from the same company. Which used to be handled by a rule like:
You can add a custom attribute called
domain and use only sensitive comparators in the targeting rule.
On the Dashboard:
In your code:
Sensitive comparators are supported from the following SDK versions: