Development Mode Details
Overview
Development mode is specifically designed to facilitate the development and testing phases of projects by disabling certain security features. This mode allows developers to test and debug applications without the interference of these features.
To enable development mode, set the developmentMode
field to true
in your playback token configuration. This setting is applied at the token level, ensuring that it can be controlled for individual sessions or users as needed. For more information on configuring playback tokens, see Playback Tokens Documentation.
Features Affected in Development Mode
Client Protections
In development mode, client-side protections are disabled. These protections are always active in production to secure the content and ensure compliance with security policies.
Steganography
Normally, media delivered includes hidden steganography to track the origin of leaks. In development mode, this steganography is completely disabled, removing the ability to trace the media back to its source if a leak occurs.
Badge Visibility
The badge, which is a placeholder indicating content protection along with a unique code, is hidden in this mode. This badge acts as a deterrent by indicating that the content is secured.
Photo Protections
In development mode, playback of protected photos is disabled. Photos require production mode to ensure full security measures are in place.
Best Practices
- Use with Caution: Development mode should be used only in controlled environments and never with sensitive or production data.
- Environment Separation: Maintain separate development and production environments to prevent accidental exposure of development settings.
Ensure to switch developmentMode
to false
or remove it entirely from your production deployment configurations to activate all security features.