Video security guide

How to Stop Video Piracy in 2026A guide for course sellers and OTT platforms

TPStreams · Updated November 2026 · About 10 min read

See DRM features
Protected video player behind a shield, blocking download, screen recording and account sharing attempts

To stop video piracy, layer your controls. Encrypt videos with DRM, issue short-lived playback links, restrict domains and devices, watermark every session with the viewer’s identity, and act quickly on leaks. No setup can eliminate piracy, because any screen can be filmed. A layered setup makes copying much harder and leaks easier to trace.

This guide is for people who sell video: coaching institutes, course creators, certification bodies, universities and OTT services. It shows what each control stops, what it misses, and how to choose a protection solution.

Six layers of video protection: encrypted streaming, DRM, playback tokens, domain and app limits, device and session limits, watermarking

The 7-step answer

  1. 1
    Replace downloadable video files with encrypted streaming.
  2. 2
    Protect paid content with DRM (Widevine and FairPlay at minimum).
  3. 3
    Issue a short-lived playback token or signed URL to each authorised viewer.
  4. 4
    Allow playback only on your own domains and apps.
  5. 5
    Limit devices and simultaneous sessions per account.
  6. 6
    Show a viewer-specific dynamic watermark.
  7. 7
    Monitor for leaks, suspend the source account and file takedowns.

What is video piracy?

Video piracy is copying, recording, sharing or streaming a video without the rights holder’s permission. For a paid business it usually happens in four ways, and each needs a different defence.

Leak typeWhat happensMain defenceWhat remains possible
Video downloadingA browser extension or tool saves the video file or streamEncrypted streaming with DRMAttacks on weaker, software-only DRM
Screen recordingThe viewer records the picture while it playsDRM output protection on supported devices; watermarkingUnsupported browsers, capture hardware, phone cameras
Account sharingOne paid login serves many peopleDevice and session limitsFriends taking turns on one device
Unauthorised redistributionA copy is re-uploaded, resold or restreamedWatermark tracing, monitoring, takedownsRe-uploads to new channels and sites

The distinction matters. DRM can stop a downloader and still be useless against a student who hands over a password.

Four ways a paid video leaks: downloading, screen recording, account sharing and redistribution

Why are online courses and OTT content vulnerable?

Paid video is easy to resell, and a single authorised viewer is enough to create a copy. The pressure points differ by business.

BusinessTypical leakWhy it hurtsPrioritise
NEET, JEE and exam-prep coachingOne enrolment shared across a study group; lectures forwarded to TelegramA batch’s recordings stay useful all seasonSession limits, DRM, watermark with phone or student ID
Course creators and educatorsDownloaded course resold at a discountThe pirate copy competes with your own launchEncrypted streaming, DRM, takedowns
Certification bodies, universities, trainersCredentials shared; assessment-prep material circulatedDamages programme integrity, not only revenueSingle sign-on, device limits, access expiry
Subscription OTT and mediaStream ripping, password sharing, licensed titles used outside permitted regionsMay breach licensing terms with content ownersMulti-DRM with strict policies, geo-rules, concurrency limits
Live events, sports, faith-based streamingRestreaming while the event is liveThe value is highest during the broadcastTokenised live playback, live watermarking, fast takedowns

Why aren’t passwords and private links enough?

A password controls who reaches a page. It does not control what happens to the video after it starts playing.

  • Plain MP4 behind a login: the file has its own address. If that address works without the login, anyone can use it.
  • Unlisted YouTube or Drive links: unlisted means hard to find, not protected. Anyone with the link can pass it on.
  • Disabled right-click or a hidden download button: this hides a menu. Developer tools and extensions are unaffected.
  • Static embed codes: without domain or token checks, a copied embed can play on someone else’s site.

These steps are harmless as a first layer. On their own, they stop only casual users.

How to stop video piracy: 6 preventive and deterrent layers

Start with the layers that close the easiest routes, then add the ones that make leaking risky.

1. Stream encrypted segments instead of files

Use HLS or DASH streaming with encryption. The video is split into small segments, so there is no single MP4 to save, and a captured segment is unreadable without its key.

Basic encryption has a gap: the player needs the key. If the key reaches ordinary browser code, a determined user can intercept it. DRM exists to close that gap.

TechnologyWhat it doesWhat it does not do
Encryption (for example AES)Scrambles video dataDecide who gets the key, or on what device
DRMDelivers keys through a licence to a protected decryption module and applies playback rulesStop a camera pointed at the screen
WatermarkingMarks the picture with an identityBlock access or copying

With TPStreams: video on demand handles hosting and streaming, with AES-256 encryption at rest and in transit.

2. Add DRM video protection to paid content

DRM (digital rights management) encrypts video and releases the decryption key only through a licence that sets playback rules. In a browser, the W3C Encrypted Media Extensions API lets a web player talk to a content decryption module. EME is not DRM itself.

How DRM playback works: licence request, licence and keys, then decryption by a protected module

No single DRM system covers every device, so most services use more than one:

DRM systemTypical coverageSecurity levels
Google WidevineAndroid, Chrome, Firefox, many smart TVsL1 uses hardware protection; L3 is software only
Apple FairPlay StreamingSafari, iPhone, iPad, Apple TV (delivered over HLS)Managed within Apple’s platforms
Microsoft PlayReadyWindows, Edge, Xbox, many TVsSL2000 is mainly software; SL3000 is hardware-based

Security level matters. Chrome and Firefox on desktop generally run Widevine at L3. You can require hardware-level protection for a premium title, but viewers on weaker devices may then be unable to play it. OTT services often set rules by resolution; a course business with students on budget Android phones may need to allow L3.

DRM makes downloading and redistributing a stream significantly harder. It is not unbreakable, and it cannot tell that a paying user has shared a password. For the basics, see what DRM is and how it helps organisations.

With TPStreams: DRM video hosting includes Google Widevine and Apple FairPlay.

3. Use short-lived signed URLs or playback tokens

A signed URL or playback token is a link or credential your server creates for one authorised request, with an expiry. For example, Amazon CloudFront signed URLs require an end time and can optionally restrict the viewer’s IP range.

  • Check login and entitlement before issuing a token.
  • Set an expiry yourself. Do not assume your provider’s default is short.
  • Use single-use tokens where your player supports them.
  • Protect the storage origin so nobody can bypass the signed route.

Limit: whoever holds a valid link may be able to use it until it expires. Tokens control access; they do not protect a video that an authorised viewer is already watching.

With TPStreams: your server creates playback access tokens with a lifetime you set, or for single use.

4. Restrict domains and apps

Domain restriction lets your player load only on websites you approve. A copied embed code then fails on someone else’s page. For mobile, allow playback only from your own app where the platform supports it.

Limit: domain checks stop casual embed theft, not a determined attacker who imitates a legitimate request. They also do nothing against a leaker who watches on your own site.

With TPStreams: domain and mobile app restrictions limit where your videos play.

5. Limit devices and concurrent sessions

Account sharing is invisible to DRM, because the account asking for a licence is genuine. Control it in your application, LMS or streaming platform:

  • Cap registered devices per account, for example one phone and one computer.
  • Cap simultaneous streams. A single-learner course usually needs one.
  • Verify new devices with an OTP, and use single sign-on for institutions.
  • Review accounts with unusual patterns, such as distant locations minutes apart.
  • Offer a simple device reset so honest learners are not locked out.

OTT services often allow more streams by plan tier. State the limit in your terms either way.

6. Add dynamic and forensic watermarking

Watermarking does not block a copy. It helps you find out where the copy came from.

TypeHow it worksStrengthLimit
Static logoThe same mark for everyoneShows ownershipCannot identify the leaker
Dynamic watermarkViewer’s ID, email, phone or IP shown during playback, often movingVisible deterrent; points to an accountCan be blurred or cropped; player overlays can be tampered with
Forensic watermarkAn imperceptible identifier embedded in the video, for example by A/B variant sequencingHard to spot and remove; suited to premium and live contentNeeds a detection service; more complex and costly

Vendors use these labels loosely. Ask whether the mark is visible or invisible, where it is applied, and how it is read from a re-recorded copy.

A watermark identifies an account, not necessarily a person. Check for shared or stolen logins before accusing anyone. Personal details on screen are also personal data, so show the minimum you need and disclose it in your privacy notice.

Video watermark with a sample email and viewer ID, beside options for user ID, email, IP address and custom text

With TPStreams: dynamic watermarking can overlay viewer details such as user ID or email. See DRM and content security for how it works alongside DRM.

Can you stop screen recording of videos?

Not completely. Some combinations of device, browser and DRM turn a recording black; others do not. No website can stop someone filming the screen with a second phone.

This is what TPStreams’ developer documentation reports for its DRM playback. It notes that blocking is not guaranteed and can change with browser versions.

Where the viewer watchesIs screen recording blocked?
Native Android and iOS appsGenerally yes
Safari on Mac, iPhone and iPadGenerally yes
Chrome on iOSGenerally yes
Chrome or Firefox on a desktop computerDo not count on it
Chrome on AndroidDo not count on it
Phone camera pointed at the screenNo

What you can do:

  • In Android apps, set FLAG_SECURE, which blocks screenshots and display on non-secure screens.
  • In iOS apps, detect when the system reports screen capture, and pause or hide the video.
  • For high-value titles, require stricter DRM levels or app-only playback.
  • Everywhere, show a viewer-specific watermark so a recording points back to an account.

Test on the devices your viewers actually use. Browser scripts that block keyboard shortcuts are not a dependable defence.

How do you choose a video piracy protection solution?

Choose by what you need to block and trace, then verify each claim in a trial.

Ask the vendorWhy it matters
Which DRM systems are included, on which plan?DRM is sometimes an add-on or limited to higher tiers
Which devices and browsers block screen recording?A blanket yes is a warning sign
How do tokens expire, and what is the default?Long-lived links undo other controls
What can the watermark show, and is it visible or forensic?Determines how you can trace a leak
Who enforces device and session limits?It may be your app, not the video host
Does protection cover live, recordings and offline downloads?One unprotected path is enough
How are DRM licences, delivery and storage billed?Costs grow with views

Where TPStreams fits

TPStreams is a video hosting and live streaming platform for businesses selling premium video. This guide is published by TPStreams, so test these points as you would any vendor’s.

Its DRM and content security features include:

Set token lifetimes explicitly when you integrate. Plan device and session rules with your LMS or app as well. Course businesses can start with video streaming for LMS; streaming businesses with media and entertainment.

Want to test your own videos?

Bring your own sample video. Ask to see playback and screen-recording behaviour on your viewers’ devices.

Request a TPStreams demo

Frequently asked questions

Can video piracy be stopped completely?

No. A camera can always film a screen, and determined attackers target DRM. You can block casual downloading, limit account sharing, trace leaks and remove copies.

How do I prevent students from downloading course videos?

Stop serving MP4 files. Stream encrypted video with DRM, issue short-lived tokens only to enrolled students and restrict playback to your domain and apps. This addresses downloading, not screen recording or password sharing. See also how to prevent students downloading course videos.

Does DRM stop screen recording?

Sometimes. It depends on the device, browser, app and DRM security level. Native mobile apps and Safari generally offer stronger blocking than desktop Chrome or Firefox. DRM never stops an external camera.