Mohammed wEb
Mohammed wEb

Reputation: 1

get files from google clous storage without using public url?

Hope you are doing well . I’m working currently on a project that gets mp3 content from Google Cloud Storage into a web application to be played for users . I just wanna know how I can get those audio files on streaming without downloading them in my project repo . One approach is using a public Url , but I think that is not secure because people who know the url can access all my files stored in the cloud ? I'm using php laravel

Upvotes: 0

Views: 762

Answers (1)

Tim Chiang
Tim Chiang

Reputation: 394

The only approach to this case I think is to use Signed URLs because we don't know whether they have a Google account.

Another solution that download the file locally on the server, and then let the user download the file from the server.

Upvotes: 1

Related Questions