I want to create an app where there will be several videos teaching html and css, so any user can watch any video if authenticated.

For each user the url of these videos should be associated with the user session, preventing the user from sending the video url to others to (free) access.

When the user logof the `possible copy` of the file will be deleted with the user's session.

1. When a teacher uploads a video, the video will be saved with the
storage system.
2. Create a copy of the file or make an association in database?
3. My thinking on how to handle these files is correct?

Any idea in how to do this?