backbone.js - handling if a user is logged in or not

前端 未结 5 594
悲&欢浪女
悲&欢浪女 2020-12-04 05:29

Firstly, should the static page that is served for the app be the login page?

Secondly, my server side code is fine (it won\'t give any data that the user shouldn\'t

5条回答
  •  北海茫月
    2020-12-04 05:58

    I think you should do this server sided only... There are many chances of getting it hacked unit and unless you have some sort of amazing api responding to it

提交回复
热议问题