Thursday, 15 April 2010

javascript - Can users upload files directly to Google Cloud Storage without authentication? -


I am just setting up a simple JS photo uploader on my site. This photo uploads directly to the Google Cloud Storage bucket.

I used the code from my official

but if you see that code, you will see that it requires authentication. I am certified and able to upload photos. , But I want everyone to upload their files without signing in to their Google accounts.

Is this possible?

You can use a POST policy doctor:

A signed request will be allowed to create a signed request with different constraints in content-lamban, content-size, etc.), which allows unauthorized users to upload in your bucket with the given obstacles.


No comments:

Post a Comment