# Safety and Data Protection

> Operator guides for guardrails and data protection: project policies and providers, PII redaction, prompt injection defense, and coding assistant policies.

# Safety and Data Protection

  Guardrails are project policies the gateway enforces inline: on the way in (prompts) and on the way out (responses). Each policy is a collection of rules; each rule is a check type scored by a provider. [About guardrails](/agent-router-enterprise/guides/operate-and-govern/safety-and-data-protection/about-guardrails/) explains that model and how evaluation works; the guides that follow cover configuring guardrails and providers, redacting sensitive data, blocking prompt injection, applying stricter policy bundles to coding-assistant traffic, and the developer-side view of blocked and redacted requests.

  <Link to="/agent-router-enterprise/guides/operate-and-govern/safety-and-data-protection/about-guardrails/" className="tare-nav-card">
    About guardrails
    The model behind the policies: rules, providers, evaluation order, and failure modes.
  </Link>
  <Link to="/agent-router-enterprise/guides/operate-and-govern/safety-and-data-protection/configure-custom-guardrails/" className="tare-nav-card">
    Configure guardrails
    Create project policies and rules; validate in monitor mode before enforce.
  </Link>
  <Link to="/agent-router-enterprise/guides/operate-and-govern/safety-and-data-protection/configure-vendor-guardrails/" className="tare-nav-card">
    Configure guardrail providers
    Choose regexp, builtin, or tetrate for each check type.
  </Link>
  <Link to="/agent-router-enterprise/guides/operate-and-govern/safety-and-data-protection/detect-and-redact-sensitive-data/" className="tare-nav-card">
    Detect and redact sensitive data
    Keep PII and credentials out of prompts and responses.
  </Link>
  <Link to="/agent-router-enterprise/guides/operate-and-govern/safety-and-data-protection/detect-and-block-prompt-injection/" className="tare-nav-card">
    Detect and block prompt injection
    Stop jailbreak patterns before they reach a model.
  </Link>
  <Link to="/agent-router-enterprise/guides/operate-and-govern/safety-and-data-protection/protect-coding-assistant-traffic/" className="tare-nav-card">
    Protect coding-assistant traffic
    Apply stricter policy bundles to agent and editor traffic without slowing normal use.
  </Link>
  <Link to="/agent-router-enterprise/guides/operate-and-govern/safety-and-data-protection/guardrails-on-shared-data-planes/" className="tare-nav-card">
    Guardrails on shared data planes
    Per-project enforcement on shared capacity, gateway attachment health, and identity alerts.
  </Link>
  <Link to="/agent-router-enterprise/guides/operate-and-govern/safety-and-data-protection/protect-requests-with-guardrails/" className="tare-nav-card">
    Protect requests with guardrails
    The developer-side view: recognising a block or a redaction and requesting coverage.
  </Link>
