Hi Pankaj, You can have it on a signed URL so that the video is only available/ viewable on the respective domain with authentication token. You can find the implementation in boto3 documentation.
Thanks and regards, Abhishek Choudhury On Mon, 19 Jul 2021 at 10:43 AM, pankaj palmate < pankajpalmate61...@gmail.com> wrote: > Hii ,Thank you for your response...but what hotstar does because i think > their videos are not possible to download and if not how can we make it > hard to download ?any referell link? > > On Mon, 19 Jul, 2021, 7:38 am Benjamin Schollnick, < > bscholln...@schollnick.net> wrote: > >> Good luck. >> >> If the user can play the video, then they by definition have to be able >> to download the video. Unless you want to create your own proprietary >> streaming mechanism, if the web browser can display the video, it has to be >> able to cache the video (eg download it locally). >> >> For example, you can easily download almost any video off of youtube, >> without issue. See youtube-dl, as well as dozens of other applications >> that can do this. >> >> Yes, there are ways to make this harder, but to play the video the >> computer has to be able to use some mechanism to download the video. >> >> - Benjamin >> >> >> >> On Jul 18, 2021, at 9:44 PM, pankaj palmate <pankajpalmate61...@gmail.com> >> wrote: >> >> Hello please help me in this, I want to provide my video content to >> users and my objects are stored in AWS s3 buckets.I want user to view >> video for 1 year of validity but restrict to download the video...also he >> will have acess through my website only(i.e. he should not use s3 object >> url to access the file and download using Chrome) >> Thanks in advance >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Django users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to django-users+unsubscr...@googlegroups.com. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/django-users/CAPyMU1%2Bwwd6q%2B8m2LpJC6rUB1jxEzHQmh4800AzqBoZ8cW%2BAJw%40mail.gmail.com >> <https://groups.google.com/d/msgid/django-users/CAPyMU1%2Bwwd6q%2B8m2LpJC6rUB1jxEzHQmh4800AzqBoZ8cW%2BAJw%40mail.gmail.com?utm_medium=email&utm_source=footer> >> . >> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Django users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to django-users+unsubscr...@googlegroups.com. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/django-users/C626942B-E102-476B-A136-733EC3B74712%40schollnick.net >> <https://groups.google.com/d/msgid/django-users/C626942B-E102-476B-A136-733EC3B74712%40schollnick.net?utm_medium=email&utm_source=footer> >> . >> > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to django-users+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/CAPyMU1%2Bycgp9oTTDNXGfRAe7mV6KqEAaZM6oHkwF18r%3D0FT97A%40mail.gmail.com > <https://groups.google.com/d/msgid/django-users/CAPyMU1%2Bycgp9oTTDNXGfRAe7mV6KqEAaZM6oHkwF18r%3D0FT97A%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > -- Thanks and regards, Abhishek Choudhury Mobile: +91 7903717967 -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CA%2B3kJUZtoLeyH6Ox5KOaR7sF6Y%3D2VzYgwVb0vwHPmVJfp-o%3DQg%40mail.gmail.com.