Dfence Documentation

Welcome to the Dfence documentation.

Dfence is a real-time account-sharing detection and prevention platform designed for SaaS publishers. It helps companies protect their revenue, ensure fair usage, and convert unauthorized account sharers into paying customers.

Dfense provides a complete client-side JavaScript SDK and a high-performance Detection API that can identify concurrent access attempts within milliseconds.

The platform is lightweight, privacy-friendly, fully customizable, and integrates seamlessly into any web or mobile application.

What Dfence Does

Dfence monitors access patterns per user and detects when an account is being used from multiple devices or sessions simultaneously. When suspicious activity is detected, Dfence can:

  • Block access in real time
  • Trigger custom UI to inform users
  • Prompt an upgrade to recover lost revenue
  • Unblock sessions automatically once the sharing stops

Behind the scenes, the Dfence SDK manages the entire lifecycle: device identification, session start/stop, visibility handling, and communication with the API.

Documentation Overview

This documentation is structured into several key sections:

Who Is This Documentation For?

  • Frontend developers integrating the SDK
  • Product teams designing the user experience around blocking
  • Growth & revenue teams converting account sharers into paying users
  • Security teams monitoring unauthorized activity

Need Help?

Dfence is designed to be simple to implement, but if you need assistance, feel free to reach out through your customer success manager or open a support request.