title: Hide apiKey in JS and JSF
body: <p>I have several fragments of code in which I have written my Google's api key or clientId such as:</p>
  
  <pre><code>&lt;ffu:ffuAttachDocumentFromDriveBS
          apikey="MY_API_KEY"
          clientId="MY_CLIENT_ID"
          fileId="#{documentManagerBean.fileId}"
          downloadMethod="#{documentManagerBean.downloadFileAndUploadToBeeblos()}"
          render="attachment_message, #{id_mpAttachment}_doc"/&gt;
  </code></pre>
  
  <p>or</p>
  
  <pre><code>_doAuth: function(immediate, callback) {    
      gapi.auth.authorize({
          client_id: MY_CLIENT_ID,
          scope: 'https://www.googleapis.com/auth/drive',
          immediate: immediate
      }, callback);
  }
  </code></pre>
  
  <p>so if anyone were to inspect the code in the browser, they would see them. </p>
  
  <p>Is there any way to hide them? </p>