Security Measures for Your Single Page Application
Building a secured application is always a puzzle for many of us. This is so true when you need to secure a Single Page Java Web application where many things are happening on the browser which is not in your control. This post discusses this problem along with some of the popular preventive measures available today to secure your single page web application. What is Single Page Application? In earlier days web browsers were not really powerful as we see them today. We used to build web applications by moving most of the processing logic to the server, leaving browser as a simple mean to render the DOM returned by server. Simple user action like clicking a button, scrolling page were all handled on server. Over a period browsers became more rich in terms of functionalities and we have witnessed JavaScript emerging as powerful scripting language. A single-page application (SPA) is a web application that interacts with the user by dynamically rewriting...