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

Feature Request: Add Referrer to MP4 Requests for Enhanced CDN Security #1063

Open
habibulilalbaab opened this issue Sep 23, 2024 · 0 comments
Assignees

Comments

@habibulilalbaab
Copy link

Context: I am using MediaCMS to serve media files via a CDN, and I've noticed that while referrers can be set for most requests, MP4 files (specifically original video files) are accessed directly without a referrer. This creates a potential security issue as these files can be accessed directly via the CDN.

Feature Request: I would like to request the addition of a referrer header for MP4 requests, ensuring that media files served via CDN are properly protected and only accessible through authorized requests. This would enhance security by preventing direct access to media files and allowing better control over how files are distributed through the CDN.

Proposed Solution:

Add an option in the MediaCMS configuration to enforce referrers for video (MP4) file requests.
Ensure that the CDN respects the referrer header and only serves the file if the correct referrer is present.
Benefit: This would greatly enhance security by preventing unauthorized or direct access to media files via the CDN, ensuring that only requests originating from authorized domains are allowed to access these files.

Thank you for considering this feature!

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

2 participants