Currently all reads are considered public. With this enhancement, a storage driver will receive the acl option (for reads and writes) which instructs the intent of the caller. Current options: public and private.
Example public read:
curl https://blobby.mywebsite.com/myStorage/publicObject.txt
(internally will invoke existing fetch with options { acl: 'public' })
Example private read:
curl -H "Authorization: ApiKey shhItsASecret" https://blobby.mywebsite.com/myStorage/privateObject.txt
(internally will invoke existing fetch with options { acl: 'private' })
This will allow storage drivers to discern between public and privileged requests.
Note: Storage drivers are not required to adhere to this feature, and may treat all objects as public.
Currently all reads are considered public. With this enhancement, a storage driver will receive the
acl
option (for reads and writes) which instructs the intent of the caller. Current options:public
andprivate
.Example public read:
curl https://blobby.mywebsite.com/myStorage/publicObject.txt
(internally will invoke existingfetch
with options{ acl: 'public' }
)Example private read:
curl -H "Authorization: ApiKey shhItsASecret" https://blobby.mywebsite.com/myStorage/privateObject.txt
(internally will invoke existingfetch
with options{ acl: 'private' }
)This will allow storage drivers to discern between public and privileged requests.
Note: Storage drivers are not required to adhere to this feature, and may treat all objects as public.