Policy

Choose a protection level, set the low-trust and block lines, and turn individual signals on or off — all on one tab.

Overview

Policy is the fourth tab of the Security page, reached from Audience → Security. It controls how Security behaves: whether it runs at all, where it draws the low-trust and block lines, and which signals it watches. It replaces the old separate Rules and Settings pages — everything now lives here. (The old /rules and /settings links redirect here automatically.)

Security monitoring

A master switch at the top, Score every visitor in real time, turns the whole engine on or off:

  • On — every visitor is scored in real time and can be flagged or auto-blocked
  • Off — no signals are evaluated and no visitor is scored or blocked. The rest of the tab dims to show monitoring is paused.
Turning monitoring off doesn't clear existing statuses or blocks — visitors simply stop being scored. Turn it back on and scoring resumes from where it left off.

Protection level

Three one-click presets set both lines at once. Pick the one that matches your risk tolerance, or drag the lines yourself — the label then reads Custom.

PresetBlock lineLow-trust lineBest for
Relaxed2030Only flags as low trust when several signals stack; still bans outright attacks
Balanced (recommended)2640One weak signal never flags; bans bots and attacks
Strict3046Any single signal is flagged as low trust; also bans stacks of signals

Balanced is the default. Its numbers are tuned so that a normal anonymous visitor (who starts at 50) is never flagged by one stray signal, while bots and attack tools are blocked for sure.

The low-trust and block lines

Below the presets, the Trust thresholds section shows a single 0–100 bar with two draggable handles:

  • Block line (red) — visitors scoring below it are automatically blocked from chat
  • Low-trust line (yellow) — visitors between the two lines are flagged as low trust; at or above it they're trusted

The controls won't let the block line rise above the low-trust line. A live legend under the bar follows the handles as you drag, so you can see what each band will mean. Below that, an impact strip counts how many of your current visitors sit in each zone — those counts are calculated at your saved lines, and while you have unsaved changes the strip says so.

Signals

Below the lines is the catalog of built-in signals, grouped as Risk · Bot detection, Risk · Behavioral, Risk · Network and Trust. Each signal has a single on/off toggle — that's the only control. Its impact is fixed and shown as a read-only number (how many points it moves the trust score), with a Permanent or Expires 30d tag next to the name. You can't change a signal's weight by hand, and you can't write your own detection rules — the catalog is the same well-tuned set for everyone.

Risk signals (lower the score)

SignalGroupWhat it detectsImpactDefault
Attack-tool user-agentBot detectionThe browser identifies itself as a known attack or scanner tool (sqlmap, nikto, nmap, masscan, zgrab).−50, permanent — a single hit blocksOn
High event velocityBot detectionSustained machine-paced activity in a recent window — many distinct page loads and interactions packed into single minutes. Repeated views of one URL don't count, so heavy human browsing stays under the bar. A lone hit only flags as low trust; it needs a second risk signal to block.−20, expires after 30 daysOn
Disposable email addressBehavioralThe email uses a known throwaway domain. Privacy relays like iCloud Hide My Email are not flagged.−8, expires after 30 daysOn
No-reply / automated emailBehavioralThe email is a no-reply, bounce, mailer-daemon or similar non-human mailbox. Ordinary shared mailboxes (info@, support@) are never flagged.−5, expires after 30 daysOn
Suspicious URL accessedNetworkThe visitor loaded a page whose path matches a secret- or source-exposure pattern: /.env, /.git/, /.svn/, cmd.exe, shell.php and well-known system-file paths.−50, permanent — a single hit blocksOn
Only the URL path is matched, never the query string, and admin-panel paths such as /wp-admin are deliberately left out — a legitimate site operator browsing their own admin area must never be blocked for it.

Trust signals (raise the score)

Trust signals never decay; every one of them is tagged Permanent.

SignalWhat it creditsImpactDefault
Established visitor (30 days)The visitor's record is between 30 and 90 days old+5On
Long-standing visitor (90 days)The record is older than 90 days+10On
Returning visitor (multiple days)They have come back on 3 or more separate days+10On
Wrote a messageThey have sent at least one genuine message — in chat, email, social or voice+15On
Email address setThe visitor has an email on file — the primary "contactable person" signal+15On
External account ID setLinked to your own backend via the SDK identify() call+10Off
Customer value setA positive customer value / LTV is set via the SDK+10Off
Plan setA plan / subscription value is set — presence only, any value including "free"+5Off
Display name setThe visitor has a display name+5Off
The two signals Yaplet measures itself — Wrote a message and Returning visitor — are on by default because they come from the visitor's own actions and no integration can fake them. The four that are off by default all rely on profile fields your own integration sets, and an integration that stamps the same value on every visitor would hand out trust indiscriminately. Turn one on only if your integration fills that field meaningfully (for example, an external account ID only for signed-in users).

Saving changes

Any edit raises a sticky bar at the bottom showing how many changes are unsaved. Click Save changes to apply or Reset to discard. Saving is blocked while the block line isn't below the low-trust line. Changes apply going forward — existing scores aren't recalculated retroactively.

Tuning tips

  • Global audience? The signals no longer penalise night-time activity, shared IP addresses, many countries or many devices, and they no longer run VPN/Tor reputation checks — those turned out to be almost always wrong on long-lived mobile connections. Travellers and remote teams shouldn't pile into the low-trust band. If they still do, move to the Relaxed preset.
  • Lots of identified users? Leave the trust signals on so your real customers float to the top of the score range.
  • Seeing too many or too few flags? Adjust the preset or drag the low-trust line rather than touching individual signals — the lines are the simplest lever.