Protecting API Key in a JS application
<p>I am new to JavaScript.</p>

<p>The help I wanted was to understand how to protect API Key used to access my Restful web services.</p>

<p>I am accessing some Restful web services using API keys and I want those API keys to be protected. As when I put API keys in Controllers they will be visible to users since Javascript code can be seen by the end user.</p>

<p>Is there anyway that I can register these as some variables and use in Controllers where end user who view the Javascript code cannot see API Key?</p>

<p>Thanks in advance!</p>
