title: How can I access files from a Google Cloud Storage bucket from a browser?
body: <p>I am using Google Cloud Storage to store images for my Google App Engine application and I'm trying to access the images like so:</p>
  
  <pre><code>&lt;img src="https://storage.googleapis.com/BUCKET_NAME/IMAGE_NAME"&gt;
  </code></pre>
  
  <p>However, this displays "Access Denied" or presents me with a Google login prompt.
  Then I tried using <a href="https://cloud.google.com/storage/docs/access-control/signed-urls" rel="noreferrer">Signed URLs</a> to grant the client access.</p>
  
  <p>I generated the URL to be signed like so:</p>
  
  <pre><code>String HTTP_Verb = "GET";
  String Expiration = "1361993085";
  String Canonicalized_Resource = "/bucket_name/sub_directory";
  String stringToSign = HTTP_Verb + "\n" + Expiration + "\n" + Canonicalized_Resource;
  </code></pre>
  
  <p>And then generated Base64 with the p12 file and compiled using Java, but I got this error:</p>
  
  <pre><code>The request signature we calculated does not match the signature you provided. Check your Google secret key and signing method.
  </code></pre>
  
  <p>What am I doing wrong here? Is there way I can access images from GCS without authentication?</p>