ajax - Backbone.js: is it possiblie to secure server data from crawling? -


i new front end web development , have basic questions regarding security issues regarding backbonejs (probably ajax in general).

i working on mobile apps while now, , of them build api handles requests , provides data application in json format. when using app, can add security access data using api secret keys , such. way can make sure whoever asking data allowed json data application and, theoretically, wouldn't able make lots of requests api in order download raw data own purpose. server (api) runs on nodejs mongodb db server.

the problem mobile app working, need make web interface alternative users interact application. have seen examples of backbone.js , impression have 1 use it, server must openly provide data in json format. if this, able make requests , data endpoint. believe because of way ajax works. so, if wanted serve data html, not raw json data, still possible use backbone.js? thinking like:

browser makes request web server web server gets data api api validates key , secret , returns json data webserver web server sends html browser ' sorry ask this. have never worked web development , aware basic question. if these assumptions correct, mean won't able use backbone.js or ajax based frameworks?

thanks much,

marcel


Comments

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -