REST API Security Issues : <p>I have an html5 webapp that fetches data using jquery from rest java api. I have two questions:</p>

<ol>
<li>How can I encrypt data on server and decrypt it locally with different key for each user. Where can I store this key in client side? Does it needed, or it is just enough to secure the rest service call with some authentication method?</li>
<li>Is there any standard way to prevent other rest clients (except browsers) to hit this rest api?</li>
</ol>
