Private videos undownloadable

Hello i got project i want to make private videos, ones that can't be downloaded or access outside the website can you guys mention best websites to do that? (youtube is out the question)
24 Replies
dys 🐙
dys 🐙14mo ago
How are the videos being generated? You could use Widevine to encrypt your videos. There's pretty wide browser support for that DRM scheme: https://developers.google.com/widevine/drm/overview#supported_platforms Alternatively, you could use https://Livepeer.org to do the encoding & they support access-controlled VODs: https://docs.livepeer.org/guides/developing/access-control-vod
ABK | Muneer
ABK | Muneer14mo ago
Still figuring that out lol, i don't know how exactly i can do that so I'm searching and looking for best options like streaming service or something like that, so it doesn't get downloaded or access outside my website
13eck
13eck14mo ago
Nothing on the internet is private
–Sun Tzu (probably) There's a constant conflict between those who want to "protect" their property and those who want to "have what's theirs" and videos are no exception. There are a few ways to do this with videos, but DRM is a pretty shitty thing, IMO, so be absolutely sure that's what you want to do. One false step on your part and your users won't be able to access the videos through no fault of their own. In addition, what about accessing videos offline? If that's a thing you allow it's going to be next to impossible to keep them "secure". So my first question is: Why? What's so super-secret about your videos that you don't want your users to be able to download them? Is it behind a paywall? Then they've paid for the content, they should be able to download it for off-line viewing. The "most" secure way is to make an app that does it all for the user—like Netflix and Amazon Prime—so they don't have direct access to dev tools and the like to get the URL. But that's probably too much for what you're trying to accomplish. Otherwise using RTMP or other streaming-based view is going to be a good way, also, as you're not sending the video to the user, but small snippets of the video. If you want to look into streaming both Mux and Cloudinary are well-trusted in the dev community.
Jochem
Jochem14mo ago
100% agreed with Beck, just adding:
The "most" secure way is to make an app that does it all for the user—like Netflix and Amazon Prime—so they don't have direct access to dev tools and the like to get the URL. But that's probably too much for what you're trying to accomplish.
And even then, piracy happens the same day things are released. I don't think a truly unbreakable protection scheme has been invented, short of controlling both hardware and software along every step of the process
13eck
13eck14mo ago
Yeah, that’s why I used quotation marks :p Nothing is fully secure, just harder to crack
ABK | Muneer
ABK | Muneer14mo ago
well the project i want to do is basically a website to host a course and the person of that course doesn't want it to be downloadable or access for non paid members so i need to have way to make the videos hard to download and not accessed by link
Jochem
Jochem14mo ago
you might be better off just using a premade course platform, they're a lot of work to make and maintain
ABK | Muneer
ABK | Muneer14mo ago
i'm looking into wistia and vinmo
Jochem
Jochem14mo ago
fun projects, but not something I'd recommend making for someone else. If you're selling your own course, that's something different, but even then it's probably better to just use a third party tool
ABK | Muneer
ABK | Muneer14mo ago
the person want the frontend to have hard design so i don't think i'll be able to do that like animation/effects stuff you make with framer motion so i'm not sure about third party app would be able to have this kind of customizability
Jochem
Jochem14mo ago
only having files accessed by logged in users isn't hard, not being able to download the files is practically impossible that person might want too much then
ABK | Muneer
ABK | Muneer14mo ago
i agree but i'm obviously not building something perfect just hard to download i saw wistia and vimo having private videos where you can embed the video into your site and it wouldn't be access by link
Jochem
Jochem14mo ago
you'll want to use a third party video player then, and have server side access controls on the video files that check whether a user is logged in before sending the file. If you use the <video> tag, there will be a rightclick, saveas menu option
ABK | Muneer
ABK | Muneer14mo ago
true but third party serivce you can have this to be true or false but that still allows something like IDM to have access to download it is there a script or something that would not allow stuff like IDM to download ?
Jochem
Jochem14mo ago
IDM? Your client is asking for something that is impractical and honestly impossible to guarantee
ABK | Muneer
ABK | Muneer14mo ago
i agree, but i will try my best to get something that works lol one more thing is it easy or hard to make the website dark screen on screen record 😂 tbh makes it feel like he's holding military secrets or something
Jochem
Jochem14mo ago
just make sure you're not on the hook if someone does download their videos
ABK | Muneer
ABK | Muneer14mo ago
already informed him it's impossible and he's aware but he wants it to be hard
Jochem
Jochem14mo ago
I'd argue that you can make it less convenient, by for example making sure it can't be just right-click-save-as'd, but anything beyond that is probably wasted effort if you go to any number of sites that I can't talk about given Discord's policies, you'll see plenty of AMZN-WEBRIP files and all the Netflix exclusive shows. If FAANG companies can't even make it impossible, we as regular devs have no hope
ABK | Muneer
ABK | Muneer14mo ago
agree 👍 i'll try to make it hard to access outside login users and remove the download button but is there a way to make the screen black when device is streaming or recoding like netflix? i know it can be turned off by some settings but he also wants that to be enabled
Jochem
Jochem14mo ago
outside login users
This is 100% possible btw, you just have to have server side code that controls whether the server sends the video file not sure about the other thing I think it's probably automatic if you hook into the DRM in the browser, but I have no idea how that works
ABK | Muneer
ABK | Muneer14mo ago
Hummm alright thank you! i'll check it out myself if i can implement or give him the sad truth lol
ABK | Muneer
ABK | Muneer14mo ago
@Hope Of Glory that is what i had in mind after reserching and looking throw ! thank you for that comment ! i also looked up https://bunny.net/ they look good and you pay as much as you used and they do want to implement DRM (make screen black on screen record) on the future for extra protection
bunny.net - The Content Delivery platform that truly Hops!
bunny.net - The Content Delivery platform that truly Hops!
Hop on bunny.net and speed up your web presence with the next-generation Content Delivery Service (CDN), Edge Storage, and Optimization Services at any scale.
ABK | Muneer
ABK | Muneer14mo ago
hey one question since u got experience with Viemo does IDM dedect and be able to download private embedded videos? Internet download manager
Want results from more Discord servers?
Add your server