I've an application where my users create a video-file (mp4) which is saved as a Filefield in the model.
In my view I add the object (model) to the context of a TemplateView class.
In my HTML I use the video tag and use the "src" to add the url and to display the video. I restrict the view to the owner only.
This all works fine.
But now anyone can see the videos if they get the url (used in "src"). How can I restrict access the the files ?