Stream Files and prevent direct linking #1540
Unanswered
rbartholomay
asked this question in
Help
Replies: 1 comment
-
answering myself... It is a stream! Bute now i have the problem to invalidate the audio file after playing. But this is not related to adonisjs... |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi!
I need a way to stream audio files to the client and prevent direct linking. I try response.download or response.attachment and sends the file to the client, where is playing inside a html-audio tag.
But how can i prevent direct linking, and disabling download of the file. Is response.attachment a "real" stream?
Bye, René
Beta Was this translation helpful? Give feedback.
All reactions