title: Can anyone who knows my webapplication folder structure access my scripts via Ajax
body: <p>I Have Made a <strong>WebApplication</strong> which Uses <strong>ajax</strong> as its <strong>core</strong> for all functionality</p>
  
  <p>My doubt is site user can view the js files as well as ajax calls made in <strong>browser(view source option)</strong></p>
  
  <p>Users will be able to <strong>see the script</strong> i'm hitting using the above method.</p>
  
  <p>if users can write an ajax call which hits the same script from there local machine or anywhere , this will lead to a <strong>security issue</strong></p>
  
  <p>I wanted to make my scripts accessible only to my code , how to <strong>secure</strong> it .</p>