title: HTML DOM handling security
body: <p>I've created a Web Application in MVC and JQuery which renders/add/edit data by query Web API.</p>
  
  <p>I'm calling my Web API and storing information in HTML DOM for further working of my application.</p>
  
  <p>Questions:</p>
  
  <ol>
  <li>How do I prevent anyone from viewing and changing data stored in DOM ?</li>
  <li>How to prevent other user from accessing my Web API ?
  Should I encrypt data for first issue and use token based security for solving my second issue or there is any other best solution for the given problem ? </li>
  </ol>