Google Drive CORS -


is there reason why google drive not set access-control-allow-origin:* on file data available @ downloadurl.
interested in downloading binary files google drive using ajax/cors.
however, way achieve seems through proxy.

with access-control-allow-credentials: true

because huge security hole.

any website visited able grab files google drive if logged google.

without access-control-allow-credentials: true or access-control-allow-credentials: false

you ask why access-control-allow-origin header necessary @ all?


Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

ios - Change Storyboard View using Seague -