Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HLS Encrypted Video Support for Secure Content Streaming #1321

Open
domjv opened this issue Feb 18, 2025 · 0 comments
Open

HLS Encrypted Video Support for Secure Content Streaming #1321

domjv opened this issue Feb 18, 2025 · 0 comments

Comments

@domjv
Copy link

domjv commented Feb 18, 2025

Is your feature request related to a problem? Please describe.
Currently, HLS (HTTP Live Streaming) video content in Frappe LMS lacks encryption, making it vulnerable to unauthorized access. While HTTPS provides basic security, without encryption, video URLs can be intercepted, and content can be accessed without proper authorization. This is particularly important for paid or restricted content where unauthorized redistribution should be minimized.

Describe the solution you'd like
Implement HLS encryption to add a basic level of content protection by encrypting video segments and requiring a decryption key for playback. This should include:

Key Transmission over HTTPS – Ensuring encryption keys are only accessible via secure HTTPS connections.
Token-based Authentication for Key Requests – Only authenticated users should be able to request and retrieve decryption keys.
Key Rotation – Supporting automatic key rotation every n minutes as per the HLS standard, reducing the risk of key leaks.

Describe alternatives you've considered

  • DRM-based protection (e.g., Widevine, FairPlay, PlayReady) – While this offers a stronger level of security, it is more complex and requires licensing, which may not be feasible for Frappe LMS at this stage.
  • Signed URLs for video access – A potential alternative but does not protect against unauthorized access once a URL is shared.

Additional context
HLS encryption is a practical way to enhance content security without implementing full DRM. While not a foolproof solution against piracy, it adds a layer of protection that discourages casual misuse. Implementing authentication and key rotation further improves security.

Would love to discuss how this can be integrated into Frappe LMS!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant