DNN Forums

Ask questions about your website to get help learning DNN and help resolve issues.

protecting video behind LinkClick.aspx - but I still want to skip through

 6 Replies
 2 Subscribed to this topic
 40 Subscribed to this forum
Sort:
Author
Messages
Growing Member
Posts: 87
Growing Member

I need to protect videos and present them to members of a Role.
The videos are in a Protected folder and can be accessed with LinkClick.aspx urls.
But those video cannot be previewed/skipped through or rewound - they need to download completely first.
Is there a LinkClick.aspx alternative (or preferably an enhancement) that copes with HTTP Range requests, 206 Partial Content responses, Content-Range, etc so that the videos can be skipped through yet remain protected?

Senior Member
Posts: 1607
Senior Member
MVP
MVP
You're an MVP!
New Poster
New Poster
Congrats on posting!

Have you considered using any kind of video gallery module or structured content template that supports video instead?  Allowing video to be displayed and previewed requires more than just linking to it in any specific way.  

Growing Member
Posts: 87
Growing Member

Thanks for replying, Will. Can you suggest any that can still protect the video? I need to be certain that if someone with legitimate access to the video shares the link to the video with someone else, then that other person needs to sign in (and be a member of a particular role) before the video can be viewed. None of the modules I have looked at do this, hence looking at protected folders and LinkClick.aspx functionality. LinkClick.aspx links work, but they don't have the streaming functionality for skipping through a video.

Growing Member
Posts: 87
Growing Member
... any module that presents a link to the underlying .mp4 or .webm would not be suitable.
Senior Member
Posts: 1607
Senior Member
MVP
MVP
You're an MVP!
New Poster
New Poster
Congrats on posting!
Posted By James Clarkson on 2/27/2025 9:50 AM

Thanks for replying, Will. Can you suggest any that can still protect the video? I need to be certain that if someone with legitimate access to the video shares the link to the video with someone else, then that other person needs to sign in (and be a member of a particular role) before the video can be viewed. None of the modules I have looked at do this, hence looking at protected folders and LinkClick.aspx functionality. LinkClick.aspx links work, but they don't have the streaming functionality for skipping through a video.

If it were me, I'd use a combination of a folder provider (e.g., Evotiva Global Storage) to host the videos securely at a cloud file serving location (e.g., Azure, Amazon, etc.).  Then, implement a module like the EasyDNN Gallery module to display the videos.  This approach will give you an easy-to-backup and restore solution that hosts the files in a redundant and highly available serving location which includes built-in (configurable) permissions to protect the video.  Then, you further display and protect the video on the site using the gallery module and on-site permissions in DNN.  

 

Growing Member
Posts: 87
Growing Member
Thanks, Will. I had already looked at EasyDNN but not at Evotiva, so I'll take a look there.
In the meantime, however, I think I have found a solution acceptable to my client where I *can* present the link to the underlying .mp4 and use IIS rewrite rules to limit access based on the referrer ...















Senior Member
Posts: 1607
Senior Member
MVP
MVP
You're an MVP!
New Poster
New Poster
Congrats on posting!

Another way to do this now that I think about it would be to use a paid account at Vimeo (or another site like it).  The paid account ensures that the video is only played at domains/sites you choose.  Then, you just copy/paste the embed codes, or write a module to integrate with their API to pull them in directly to your site.  

These Forums are for the discussion of the open source CMS DNN platform and ecosystem.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. If you have (suspected) security issues, please DO NOT post them in the forums but instead follow the official DNN security policy
  2. No Advertising. This includes the promotion of commercial and non-commercial products or services which are not directly related to DNN.
  3. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  4. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  5. No Flaming or Trolling.
  6. No Profanity, Racism, or Prejudice.
  7. Site Moderators have the final word on approving / removing a thread or post or comment.
  8. English language posting only, please.

Would you like to help us?

Awesome! Simply post in the forums using the link below and we'll get you started.

Get Involved