lundi 5 mars 2018

Laravel - Serving files based on user session

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?

Any idea in how to do this?



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2FgQzKg
via IFTTT

Aucun commentaire:

Enregistrer un commentaire