title: Secure Access to Authenticated REST Server through Backbone.js?
body: <p>I've had this REST Server (written by myself) that is secured by simple HTTP Authentication. </p>
  
  <p>Now I re-wrote the app using backbone.js and I am unsure how to go about authenticating my client. If i do it in JS user/pass would be visible. </p>
  
  <p>So how should I modify my server or my client side JS to be secure?</p>
  
  <p>Previously I just gave user &amp; pass in PHP for each request to REST Server, please guide me, Thanks.</p>