Hey Pankaj, I think you can achieve this by adding an expiration date field in the model. So for example, the respective video will be available to view only if the today's date is between the expiration date. ( Today's date < expiration date)
And once today's date is exceeding 1 year period ( today date >= expiration date) , you can show a small modal/pop-up saying "hey! The subscription is over. Please buy the subscription to enjoy the content". Hope this helps and solves the query. Thanks and Regards, Abhishek Choudhury Ph. no: +91 7903717967 On Mon, 19 Jul, 2021, 7:14 AM 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/CA%2B3kJUbihUsFXnNCKr-R%2BffYdoGzjKO4EHfV%2BL0bb2iz%3D-saaw%40mail.gmail.com.