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 the current page rather than …

The Top 50 Tools of 2018

Let me share a couple of interesting survey results:
This looks very interesting, check it out: may like this as well:

Frequently Used Docker Commands

Here is the list of frequently used docker commands:
(You can find the full list in the official documentation )

List All Images

docker image ls -a

Remove All images

docker rmi $(docker images -q)

List All Containers

docker ps -aq

Stop All Running Containers

docker stop $(docker ps -a -q)

Remove  All Exited Containers

docker rm $(docker ps -q -f status=exited)

Remove All Running Containers

docker rm -f $(docker ps -a -q)

Remove All Unused Data(Unused containers, Images, Networks and Volumes)

docker system prune

Check Inside A Container

docker ps -aq  (lists all container ids)
78ad7c6f87dd 6df1eda50edc
docker exec -it   bash
docker exec -it  78ad7c6f87dd bash


The views expressed on this blog are my own and do not necessarily reflect the views of my employer.