Best way to secure an AJAX app

前端 未结 6 1869
逝去的感伤
逝去的感伤 2021-01-01 23:53

I am currently working on the authentication of an AJAX based site, and was wondering if anybody had any reccomendations on best practices for this sort of thing.

My

6条回答
  •  温柔的废话
    2021-01-02 00:22

    Your best bet is using an SSL connection over a previously authenticated connection with something Apache and/or Tomcat. Form based authentication in either one, with a required SSL connection gives you a secure connection. The webapp can then provide security and identity for the session and the client side Ajax doesn't need to be concerned with security.

提交回复
热议问题