The Video Security system ensures that all streamed content is protected from unauthorized access, piracy, and misuse. It safeguards video files, playback sessions, streaming URLs, and user data while maintaining seamless viewing performance. Below is the complete explanation of how video security works within the player ecosystem.Documentation Index
Fetch the complete documentation index at: https://docs.pnplayer.com/llms.txt
Use this file to discover all available pages before exploring further.
Secure Video Delivery
Videos are never exposed as public downloadable files. Security mechanisms include:- Signed playback URLs with expiration time
- Token-based access validation before streaming
- Time-limited video access
- Domain-restricted playback
- Referrer validation
Encrypted Streaming (HLS Protection)
All video content is delivered securely using encrypted streaming. Security features:- HTTPS delivery for all video segments
- Encrypted HLS (
.m3u8) streaming - Segment-based streaming (no full file exposure)
- Optional AES-128 encryption for HLS segments
Playback Authorization
Before a video loads in the player:- The client requests playback authorization.
- The backend validates the user token.
- The system verifies video access permissions.
- A signed playback URL is generated.
- The player loads the secure streaming source.
Secure Caption & Asset Handling
Associated assets such as:- Subtitle files (
.vtt,.srt) - Thumbnail sprites
- Chapter files
Session Protection
To prevent misuse:- Playback sessions can be time-bound
- Tokens automatically expire
- Revalidation can occur during long sessions
- Concurrent session limits can be enforced
