I'm trying to convert my current code from the File API to the Cloud
Storage API (using the
appengine-gcs-client<https://code.google.com/p/appengine-gcs-client/>library).
I want to ensure that only the GAE application has access to the
newly created files on the Cloud Storage. How can I do that? Te examples i
have seen all use the following code or something similar:
GcsFileOptions options = new GcsFileOptions.Builder().mimeType("text/xml").
acl("public-read").build();
This makes the file accessible to everybody for reading. What should I put
in the acl call to make the file accessible only to the GAE application. I
figured that I can add the application to the team as the editor but I can
not figure out the next step. A code snippet would be nice.
Thanks in advance.
--
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-appengine?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.